Code Monkey home page Code Monkey logo

libtorch_refinedet's Introduction

LibTorch_RefineDet

First You shall compile the cuda_gpu for c++

cd utils  
bash do.sh  
cp ./build/libgpu_nms.so ../  

Second compile your refinedet API

cd ../
bash do.sh  

How To use

This model for 2 detector, if you want to add more.
U only change a little from my code.
You must train your refinedet in your pytorch,and import the torch script.
U must give the anchor priors about U model and save to *.csv

In your Master

U must put your test_img into JPEGImages.do follow: U give a result dir for your test output and get the filename save into file_name.txt.

mkdir JPEGImages  
mkdir result

TEST

./build/launch [file_name.txt][U don't need][anchor.csv][Torch_model]  

FUTURE

IF U have any question Email me.

libtorch_refinedet's People

Contributors

lingtengqiu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

libtorch_refinedet's Issues

libtorch版本

您好,想问下这个代码libtorch版本多少?

export anchor priors

Once I get the anchor priors,how do I export them into the csv file?What does each line of the csv file mean?

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.