-
Hi, Thanks for your contribution on object detection research! In order to use HTC model, I downloaded mmdetection code and reproduced HTC with ResNet-50 backbone model. Is there any way to solve it? Best, |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hello @jekim5418. Could you follow the issue template to provide more information, such as config and your environment? |
Beta Was this translation helpful? Give feedback.
-
Sorry for inconvenience. Issue :
Environment :
TorchVision: 0.9.0+cu111 I installed PyTorch through Result : 2022-05-03 12:52:38,732 - mmdet - INFO - Exp name: detectors_htc_r50_1x_coco.py Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed. Thanks, |
Beta Was this translation helpful? Give feedback.
-
Seems you test the checkpoint of epoch 12. The results of htc_r50_fpn_20e_coco.py should be evaluated with epoch 20 checkpoint. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your comment. Actually, I also run the model DetectoRS which is based on HTC. Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.424 OrderedDict([('segm_mAP', 0.424), ('segm_mAP_50', 0.65), ('segm_mAP_75', 0.456), ('segm_mAP_s', 0.214), ('segm_mAP_m', 0.455), ('segm_mAP_l', 0.62), ('segm_mAP_copypaste', '0.424 0.650 0.456 0.214 0.455 0.620')]) In order to get this score, I typed this command : The APs and APl score is quite different from the paper and scores from mmdetection's log file. Also, I found that for DetectoRS model's config in original official github, I found that epoch has to be set as 40. 2022-05-19 12:13:13,040 - mmdet - INFO - 2022-05-19 12:13:13,971 - mmdet - INFO - Exp name: detectors_htc_r50_1x_coco.py Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed. |
Beta Was this translation helpful? Give feedback.
-
The overall AP should be correct. The AP small, medium, and large are different because the values in the log and paper are calculated based on the box areas rather than mask areas. This is a legacy issue caused by the pycocotools, and has been fixed in #4898. Therefore, the measured APs small/medium/large are correct and matched the recommended practice. |
Beta Was this translation helpful? Give feedback.
The overall AP should be correct. The AP small, medium, and large are different because the values in the log and paper are calculated based on the box areas rather than mask areas. This is a legacy issue caused by the pycocotools, and has been fixed in #4898. Therefore, the measured APs small/medium/large are correct and matched the recommended practice.