Git Product home page Git Product logo

mmdetection_visualize's Introduction

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)

  1. loss_rpn_bbox

  2. loss_rpn_cls

  3. loss_bbox

  4. loss_cls

  5. loss

  6. acc

  7. PR_curve

  8. F-measure

Installation

  1. 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 under mmdetection/mmdet/core/evaluation/

How to use

six training result

  1. After training finished, you will have work_dir directory in your mmdetection directory
  2. take the latest json file and put into json directory in mmditection_visualize directory
  3. command python visualize.py json/xxxxxxxlog.json in terminal
  4. check the output directory, Done !

PR curve and F-measure

  1. make sure voc_eval_visualize.py and mean_ap_visualize.py settled down
  2. 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
  3. check the /mmdetection main directory, you will see the PR_curve_each_class.png there, Done !

mmdetection_visualize's People

Contributors

stephenfang51 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.