Error when evaluating on images with different shapes
Created by: xxxpsyduck
I'm training on MLT19 dataset and I split out 1000 images for evaluation. The thing is that images from this dataset have diferrent shapes which results in error:
Traceback (most recent call last):
File "tools/train.py", line 112, in <module>
main()
File "tools/train.py", line 104, in main
program.train_eval_det_run(config, exe, train_info_dict, eval_info_dict)
File "/paddle/PaddleOCR/tools/program.py", line 258, in train_eval_det_run
metrics = eval_det_run(exe, config, eval_info_dict, "eval")
File "/paddle/PaddleOCR/tools/eval_utils/eval_det_utils.py", line 130, in eval_det_run
cal_det_res(exe, config, eval_info_dict)
File "/paddle/PaddleOCR/tools/eval_utils/eval_det_utils.py", line 63, in cal_det_res
img_list = np.concatenate(img_list, axis=0)
ValueError: all the input array dimensions except for the concatenation axis must match exactly