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
File "/home/lisongtao/mm3+conda/saga_test/mmdet/evaluation/metrics/voc_metric.py", line 89, in process
gt_instances = gt['gt_instances']
KeyError: 'gt_instances'
Could you please tell me how to solve this problem?
Besides, I want to open source the code for evaluation. You can also tell me how to calculate the map according to a .pkl file and config. Thanks a lot!
The text was updated successfully, but these errors were encountered:
Besides, if convenient, could I only use annotations for the test dataset without images and training data? I want to others can get mAP conveniently without downloading too much. Thanks a lot!
I ran into the same issue and solved as described below :)
The detection_results.pkl file does not, by default, store any information regarding the ground truth instances. To incorporate the ground truth data for offline evaluation of the detections, one needs to comment out line 32 within the DumpDetResults class.
I use MMDtection 3.x. The dataset is voc-format. I have trained a model and get detection_results.pkl
However, I run
and get errors
Could you please tell me how to solve this problem?
Besides, I want to open source the code for evaluation. You can also tell me how to calculate the map according to a .pkl file and config. Thanks a lot!
The text was updated successfully, but these errors were encountered: