8000 GitHub - lucasxlu/mmdetection: MMDetection-Plus
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lucasxlu/mmdetection

 
 

Repository files navigation

MMDetection-Plus

Introduction

The master branch works with PyTorch 1.1 or higher.

mmdetection-plus is a enhanced object detection codebase for my research and projects based on mmdetection, which is developed by Multimedia Laboratory, CUHK.

demo image

Modification

  • Modify mmdet/apis/inference.py
    • In line 143:
      show=out_file is None,
      out_file=out_file
  • Add inference code for easily building detection web service
  • Add VOC-COCO, YOLO-VOC data converter

How to use mmdetection-plus in your projects?

  1. Install mmdetection.
  2. Prepare data.
  3. Modify config py:

bbox_head: num_classes = cls_num + 1
total_epoch

  1. Modify mmdet/core/evaluation/class_names.py
  2. Modify mmdet/datasets/voc.py:

CLASSES = ('xx', 'xxx')

Note: If you only have 1 class, use CLASSES = [‘xx’], or you will get some trouble.

  1. Re-install:
    python3 setup.py develop

The detailed description of training/test procedure can be found in GETTING_STARTED.

Packages

No packages published

Languages

  • Python 89.1%
  • Cuda 7.1%
  • C++ 3.6%
  • Shell 0.2%
0