mmdetection_visualize
mmdetection_visualize copied to clipboard
visualize training result for mmdetection 訓練文件可視化, PR curve绘制, F1-score计算
mmdetection_visualize_v1
It's a very simple version for visualizing the training result produced by mmdetection
Update
2019.8.16 ----- PR_curve, F_measure for VOC dataset
Readme
The program supports drawing six training result and the most important evaluation tool:PR curve(only for VOC now)
-
loss_rpn_bbox
-
loss_rpn_cls
-
loss_bbox
-
loss_cls
-
loss
-
acc
-
PR_curve
-
F-measure
Installation
- Clone it
git clone https://github.com/Stephenfang51/mmdetection_visualize
There will be total 5 files(json directory, output directory, visualize.py, mean_ap_visualize.py, voc_eval_visualize.py)
-
put
voc_eval_visualize.py
under/mmdetection/tools/
-
put
mean_ap_visualize.py
undermmdetection/mmdet/core/evaluation/
How to use
six training result
- After training finished, you will have work_dir directory in your mmdetection directory
- take the latest json file and put into json directory in mmditection_visualize directory
- command
python visualize.py json/xxxxxxxlog.json
in terminal - check the output directory, Done !
PR curve and F-measure
- make sure
voc_eval_visualize.py
andmean_ap_visualize.py
settled down - command as usual like
python tools/voc_eval_visualize.py {your pkl file} {your network configs file}
- example
python tools/voc_eval_visualize.py result.pkl ./configs/faster_rcnn_r101_fpn_1x.py
- example
- check the /mmdetection main directory, you will see the PR_curve_each_class.png there, Done !

