The detection accuracy of the R-50-FPN Faster R-CNN is lower than your report, confusing...
See original GitHub issue❓ Questions and Help
Hi @fmassa , thanks for your elegant implementation. But it is confusing that the detection AP is only 32.8 when I re-train R-50-FPN Faster R-CNN, which should be 36.8 in your report:https://github.com/facebookresearch/maskrcnn-benchmark/blob/master/MODEL_ZOO.md
2019-04-14 07:12:12,977 maskrcnn_benchmark.inference INFO: Start evaluation on coco_2017_val dataset(5000 images).
2019-04-14 07:15:06,105 maskrcnn_benchmark.inference INFO: Total run time: 0:02:53.127008 (0.06925080318450928 s / img per device, on 2 devices)
2019-04-14 07:15:06,105 maskrcnn_benchmark.inference INFO: Model inference time: 0:02:32.530358 (0.061012143325805665 s / img per device, on 2 devices)
2019-04-14 07:15:07,906 maskrcnn_benchmark.inference INFO: Preparing results for COCO format
2019-04-14 07:15:07,906 maskrcnn_benchmark.inference INFO: Preparing bbox results
2019-04-14 07:15:09,584 maskrcnn_benchmark.inference INFO: Evaluating predictions
2019-04-14 07:16:17,912 maskrcnn_benchmark.inference INFO: OrderedDict([('bbox', OrderedDict([('AP', 0.3275950734831557), ('AP50', 0.5054028517973591), ('AP75', 0.36449119818971715), ('APs', 0.1492328236066365), ('APm', 0.3439931485309256), ('APl', 0.48224050452315087)]))])
The config is not changed, but I only have 2 V100 GPUS, therefore 8 images are on each device. Other information:
OS: Ubuntu 18.04.1 LTS
GCC version: (GCC) 5.5.0
CMake version: version 3.10.2
Python version: 3.7
Is CUDA available: Yes
CUDA runtime version: 9.0.176
GPU models and configuration:
GPU 0: Tesla P100-PCIE-16GB
GPU 1: Tesla P100-PCIE-16GB
GPU 2: Tesla P100-PCIE-16GB
GPU 3: Tesla V100-PCIE-16GB
GPU 4: Tesla V100-PCIE-16GB
Nvidia driver version: 418.43
cuDNN version: Probably one of the following:
/usr/local/cuda-9.0/lib64/libcudnn.so.7.2.1
/usr/local/cuda-9.0/lib64/libcudnn_static.a
/usr/local/cuda-9.2/lib64/libcudnn.so.7.2.1
/usr/local/cuda-9.2/lib64/libcudnn_static.a
Versions of relevant libraries:
[pip] Could not collect
[conda] pytorch 1.0.1 py3.7_cuda9.0.176_cudnn7.4.2_2 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch
[conda] torchvision 0.2.2 py_3 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch
Pillow (5.4.1)
2019-04-13 08:24:36,398 maskrcnn_benchmark INFO: Loaded configuration file configs/e2e_faster_rcnn_R_50_FPN_1x.yaml
2019-04-13 08:24:36,398 maskrcnn_benchmark INFO:
Thanks for your attention! ^^
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Object detection: speed and accuracy comparison (Faster R ...
The paper studies how the accuracy of the feature extractor impacts the detector accuracy. Both Faster R-CNN and R-FCN can take advantage of...
Read more >Faster R-CNN - Hasty.ai
Faster R-CNN is an architecture for object detection achieving great results on most benchmark data sets. It builds directly on the work on ......
Read more >Faster R-CNN Explained for Object Detection Tasks
Fast R-CNN is more accurate than R-CNN. The general architecture of Fast R-CNN is shown below. The model consists of a single-stage, compared...
Read more >The Forgotten Dimension of Object Detection Performance ...
Abstract: When deploying a model for object detection, a confidence score threshold is chosen to filter out false positives and ensure that ...
Read more >POD: Practical Object Detection With Scale-Sensitive Network
accuracy of detection frameworks without any extra param- eters, memory or time cost. ... Faster R-CNN [30] first proposes a unified end-to-end.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @fmassa , You are so great !!! After change the proposals to 8k (
_C.MODEL.RPN.FPN_POST_NMS_TOP_N_TRAIN = 8000
), the R-50-FPN Faster R-CNN model achieves 36.8 AP results:Moreover, I also implement
select_over_all_levels
function for single image rather than whole mini-batch. The original version: https://github.com/facebookresearch/maskrcnn-benchmark/blob/c5c4d52eeb924c800027a51862c984558d57fa4c/maskrcnn_benchmark/modeling/rpn/inference.py#L154-L170New version:
It also achieves 36.8 AP:
Please help me check whether this implementation is correct and efficient, thank you fmassa ! ^ ^
Thanks for your reply. Follow your advise, I change the number of proposals after NMS to 8k:
The training will last about 24 hours. I will reply here and report the results after training. Thank you 👍