You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error, can you please help me out
python tools/voc_eval_visualize.py ./results_final.pkl ./configs/pascal_voc/faster_rcnn_r50_fpn_1x_voc0712.py
200 200
/home/UNT/sd0570/Documents/mmdetection/mmdet/core/evaluation/mean_ap_visualize.py:390: RuntimeWarning: invalid value encountered in true_divide
f_measure = np.mean(2*(top/down))
/home/UNT/sd0570/anaconda3/envs/original_mmdetection/lib/python3.7/site-packages/numpy/core/fromnumeric.py:3420: RuntimeWarning: Mean of empty slice.
out=out, **kwargs)
/home/UNT/sd0570/anaconda3/envs/original_mmdetection/lib/python3.7/site-packages/numpy/core/_methods.py:188: RuntimeWarning: invalid value encountered in double_scalars
ret = ret.dtype.type(ret / rcount)
Traceback (most recent call last):
File "tools/voc_eval_visualize.py", line 45, in
main()
File "tools/voc_eval_visualize.py", line 41, in main
voc_eval(args.result, test_dataset, args.iou_thr)
File "tools/voc_eval_visualize.py", line 25, in voc_eval
nproc=nproc)
File "/home/UNT/sd0570/Documents/mmdetection/mmdet/core/evaluation/mean_ap_visualize.py", line 397, in eval_map
label_names = get_classes(dataset)
File "/home/UNT/sd0570/Documents/mmdetection/mmdet/core/evaluation/class_names.py", line 122, in get_classes
raise TypeError(f'dataset must a str, but got {type(dataset)}')
TypeError: dataset must a str, but got <class 'tuple'>
The text was updated successfully, but these errors were encountered:
I get this error, can you please help me out
python tools/voc_eval_visualize.py ./results_final.pkl ./configs/pascal_voc/faster_rcnn_r50_fpn_1x_voc0712.py
200 200
/home/UNT/sd0570/Documents/mmdetection/mmdet/core/evaluation/mean_ap_visualize.py:390: RuntimeWarning: invalid value encountered in true_divide
f_measure = np.mean(2*(top/down))
/home/UNT/sd0570/anaconda3/envs/original_mmdetection/lib/python3.7/site-packages/numpy/core/fromnumeric.py:3420: RuntimeWarning: Mean of empty slice.
out=out, **kwargs)
/home/UNT/sd0570/anaconda3/envs/original_mmdetection/lib/python3.7/site-packages/numpy/core/_methods.py:188: RuntimeWarning: invalid value encountered in double_scalars
ret = ret.dtype.type(ret / rcount)
Traceback (most recent call last):
File "tools/voc_eval_visualize.py", line 45, in
main()
File "tools/voc_eval_visualize.py", line 41, in main
voc_eval(args.result, test_dataset, args.iou_thr)
File "tools/voc_eval_visualize.py", line 25, in voc_eval
nproc=nproc)
File "/home/UNT/sd0570/Documents/mmdetection/mmdet/core/evaluation/mean_ap_visualize.py", line 397, in eval_map
label_names = get_classes(dataset)
File "/home/UNT/sd0570/Documents/mmdetection/mmdet/core/evaluation/class_names.py", line 122, in get_classes
raise TypeError(f'dataset must a str, but got {type(dataset)}')
TypeError: dataset must a str, but got <class 'tuple'>
The text was updated successfully, but these errors were encountered: