- mmdetection
- 配置文件:
- 训练完成的模型文件:
链接:链接:https://pan.baidu.com/s/1uU67QImcqT2z6yl100Hq6g?pwd=huv1 - 模型在测试集上的评估指标:
Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.717
Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=100 ] = 0.836
Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=100 ] = 0.820
Average Precision (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.202
Average Precision (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.507
Average Precision (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.819
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 1 ] = 0.230
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 10 ] = 0.748
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.802
Average Recall (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.200
Average Recall (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.658
Average Recall (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.883
06/11 16:40:03 - mmengine - INFO - bbox_mAP_copypaste: 0.717 0.836 0.820 0.202 0.507 0.819 - 测试评估日志:20230611_163930.log
-
执行命令:
python demo/image_demo.py \ data/tests/balloon/balloon_test.jpg \ rtmdet_tiny_1xb12-balloon.py \ --weights D:/github/mmdetection/outputs/balloon/best_coco_bbox_mAP_epoch_50.pth \ --pred-score-thr 0.42 \ --show
- backbone 特征可视化
- 执行命令:
python demo/featmap_vis_demo.py \ data/tests/balloon/balloon_test.jpg \ ../mmdetection/rtmdet_tiny_1xb12-balloon.py \ ../mmdetection/outputs/balloon/best_coco_bbox_mAP_epoch_50.pth \ --target-layers backbone \ --channel-reduction squeeze_mean \ --show
- neck 特征可视化
- 执行命令:
python demo/featmap_vis_demo.py \ data/tests/balloon/balloon_test.jpg \ ../mmdetection/rtmdet_tiny_1xb12-balloon.py \ ../mmdetection/outputs/balloon/best_coco_bbox_mAP_epoch_50.pth \ --target-layers neck \ --channel-reduction squeeze_mean \ --show
- grad-cam boxAM可视化
- 执行命令:
python demo/boxam_vis_demo.py \ data/tests/balloon/balloon_test.jpg \ ../mmdetection/rtmdet_tiny_1xb12-balloon.py \ ../mmdetection/outputs/balloon/best_coco_bbox_mAP_epoch_50.pth \ --target-layers neck.out_convs[2] --show