Error when processing my image folder
Eval scripts provides evaluation on user patch of images:
# For evaluation on a folder of images: parser.add_argument('--image_folder', type=str, default='', help='If this is nonempty then will predict on the images in this folder path') parser.add_argument('--image_root', type=str, default='', help='In case the image paths have to be preprended with a root path to an image folder')
I put some images into images folder and run the csript:
python3 eval.py --dump_images 1 --num_images 10 --model log_relation_transformer_bu_rl/model-best.pth --infos_path log_relation_transformer_bu_rl/infos_relation_transformer_bu-best.pkl --image_folder images --language_eval 0
When doing so i get the error:
Traceback (most recent call last):
File "eval.py", line 175, in
How can i solve it?
I guess i have to prepair detection data for my new images in some special format? Could you please giude me on the preparation and data formats.
I'm also getting this error -- I would appreciate knowing how to prepare/preprocess my images to avoid this!