clovaai / wsolevaluation

Evaluating Weakly Supervised Object Localization Methods Right (CVPR 2020)
MIT License
332 stars 55 forks source link

TypeError: __init__() missing 2 required positional arguments: 'iou_threshold_list' and 'multi_contour_eval' #6

Closed umairjavaid closed 4 years ago

umairjavaid commented 4 years ago

I downloaded the CUB dataset using bash wsolevaluation/dataset/prepare_cub.sh comand

Now, I am getting the error mentioned after running the following commands: !python evaluation.py --scoremap_root=train_log/scoremaps/ \ --metadata_root=metadata/CUB/test \ --mask_root=dataset/ \ --dataset_name=CUB \ --split=val \ --cam_curve_interval=0.01

junsukchoe commented 4 years ago

Thanks for your interest in our work!

The bug is due to the recent update of box evaluation. We just fixed this bug. Regarding the evaluation.py, please also refer to #3.