Giter Club home page Giter Club logo

mmdetection_libtorch's Introduction

mmdetection_libtorch

   mmdetection is very convenient for us to train all kind of detector, but in the work, after training , we are more willing to use the trained detector in our special project to test results. So only forward of a detector is developed in libtorch, written in C++ . do not worry, the c++ code is consistent with python code.

Requirements

  • Python 3.7
  • Libtorch 1.3.1
  • CUDA: 10.0
  • mmdetection: v2.7.0
  • mmcv-full: 01.2.1
  • CMake

Support Module

  1. SSD
  2. FCOS
  3. RetinaNet
  4. Faster R-CNN
  5. Mask R-CNN

How to Train

reference to mmdetection

How to Trace

  • the function forward_trace_xxx( ) is for data stream
  • using get_trace_one_stage.py or get_trace_two_stage.py to get traced weights

How to Test

  • using your own traced weights or download my traced weights (9rv5, trained in voc data)
  • modifiy the file config/xxx.json
  • check that the config file path is correct in example/test_detector.cpp
  • just running the code

mmdetection_libtorch's People

Contributors

threeyang avatar

Forkers

suhuynh

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.