GithubHelp home page GithubHelp logo

saketkunwar / cvwc2019_det Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 61.97 MB

Tiger detection using yolov3 and yolov3-tiny open_vino inference or pytorch

License: MIT License

Python 79.47% C++ 11.89% Shell 5.12% Jupyter Notebook 3.52%

cvwc2019_det's Introduction

cvcw2019_det

Tiger detection using yolov3 and yolov3-tiny on intel open_vino inference or pytorch

Inference Openvino usage Install openvino (https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_linux.html)

and setup environment paths for openvino

cd OpenVINO-YoloV3/

For yolov3 tiny-> python3 openvino_tiny-yolov3_tiger_submit.py --model ../openvino_converted_model/km_adam_yolov3_tinytiger_ckpt_9.xml --test_dir dir-to-test --result result-file

For yolov3-> python3 openvino_yolov3_tiger_submit.py --model ../openvino_converted_model/n_yolov3_tiger_13.xml --test_dir dir-to-test --result result-file


Inference pytorch usage

./test_tiger.sh path-to_test-dir result-filename

./test_tiger_tiny.sh path-to-test-dir result-filename


Train Pytorch only(https://github.com/eriklindernoren/PyTorch-YOLOv3) cd PyTorch-YOLOv3 cd weights ./download_weights.sh Required for imagenet pretrained weights(i.e yolov3.weights and yolov3-tiny.weights)

To train yolov3

./train_tiger

To train yolov3 tiny

./train_tiger tiny


Conversion of model from pytorch to tensorflow please visit https://github.com/PINTO0309/OpenVINO-YoloV3 and follow the guidelines ,specifically convert_weights_pb.py. Converion of model from tensorflow to openvino Follow (https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_convert_model_Convert_Model_From_TensorFlow.html)

Data: Train detection images needs to be downloaded from (https://cvwc2019.github.io/challenge.html) and stored in PyTorch-YOLOv3/data/tiger ( create images folder and store training images there). Orginal annotatino data in pascal-voc format was convereted and is already present in the repo.

cvwc2019_det's People

Contributors

saketkunwar avatar

Stargazers

 avatar

Watchers

 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.