Closed pengzhiliang closed 4 years ago
I ran the retinanet r50 caffe model with your config of "mmdet==1.0", but modify VocCocoDataset
to CocoDataset
. This is the final mAP:
Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.470
Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=100 ] = 0.746
Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=100 ] = 0.501
Average Precision (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.127
Average Precision (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.318
Average Precision (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.561
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 1 ] = 0.398
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 10 ] = 0.581
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.607
Average Recall (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.277
Average Recall (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.500
Average Recall (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.684
So I guess there may be some problem in your VocCocoDataset
.Could you run the experiment with this config and check the mAP again?
@yhcao6 Ok. Thank you, I checked my VocCocoDataset
a moment ago , which is defined as following:
@DATASETS.register_module
class VocCocoDataset(CocoDataset):
CLASSES = (
'aeroplane', 'bicycle', 'bird', 'boat', 'bottle', 'bus', 'car', 'cat', 'chair', 'cow', 'diningtable', 'dog',
'horse', 'motorbike', 'person', 'pottedplant', 'sheep', 'sofa', 'train', 'tvmonitor')
Obviously, It's almost the same as CocoDataset
, except CLASSNAME. Moreover, when I ran retinanet on coco dataset with default config file, I also got a different result from technical report.
Anyway, I will try it again by using your code.Thank you very much.
Feel free to reopen it if you have any further questions.
Hi,I used the --validate parameter,does it takes a long time for validation? Why it stop there?
Hi, it may take a little time to read.
Recently, when I turn my code from mmdet==0.6 to mmdet==1.0, I encounter a problem that I get lower mAP in mmdet==1.0 than mmdet==0.6.
To exclude the effects of my own method and code, I do the same experiment in both mmdet==0.6 and mmdet==1.0. The detector is RetinaNet-50 and the dataset is VOC in coco format.
For mmdet==0.6
the config is as following:
command
the
--left_parameters
is my own implement to controlLR
Result
For mmdet==1.0
config
command
result
In summary,I get 42.3 mAP in mmdet==1.0 and 45.7 in mmdet==0.6 at almost the same configuration,and they are installed trained in different conda virtual environment (but the pytorch==1.1 & CUDA==10.0 in both virtual environment ). At the same time, I can guarantee that retina_head.py isn’t changed.