Chasel-Tsui / mmdet-rfla

ECCV22: RFLA
MIT License
257 stars 23 forks source link

修改mmdet中metric_calculator并没有生效 #60

Open tylorswfit opened 11 months ago

tylorswfit commented 11 months ago

修改mmdet中metric_calculator并没有生效,报错情况如下:File "/home/ubuntu/.conda/envs/zxSpottingBirds/lib/python3.7/site-packages/mmd et-2.13.0-py3.7.egg/mmdet/core/bbox/iou_calculators/metric_calculator.py", line45,in bbox overlaps assert mode in ['iou', 'iof', 'giou', 'wd', 'kl','center_distance2','exp_kl''kl_10'], f'Unsupported mode {mode}' AssertionError: Unsupported mode hel

tylorswfit commented 11 months ago

是需要修改mmdet源码吗

Chasel-Tsui commented 11 months ago

你好,出现这个报错是因为写了其他metric但是没有在这个list里面填写改metric

tylorswfit commented 10 months ago

您好,我在list里面做了修改也进行了保存,在pycharm里跑实验是可以正常实现的,但是在terminal里跑就会出现这个报错