Git Product home page Git Product logo

yolov3_tensorrt_byd's Introduction

.
├── common
├── deep_sort
├── eval_yolo.py
├── LICENSE
├── Makefile
├── plugins
├── __pycache__
├── pytrt.cpp
├── pytrt.pxd
├── pytrt.pyx
├── README.md
├── result_3.avi
├── run_yolo.sh
├── setup.py
├── trtNet.cpp
├── trtNet.h
├── trt_yolo.py
├── trt_yolo_with_screen.py
├── utils
└── yolo

yolo&yolo+sort

The deep_sort file contains sort&deep_sort realization.

The plugins contains files about yolo net.

The utils contains files for visualization, preprocessing,etc.

The yolo is the most important one, it explains how to convert darknet weight to tensorRT engin.

NX部署检测模型

步骤

1、安装依赖

install_protobuf-3.8.0.sh

bash install_protobuf-3.8.0.sh

Install pycuda

pip install pycuda==2019.1.1

Install onnx==1.4.1(确保是这个版本,不然会出错)

sudo pip3 install onnx==1.4.1

2、生成依赖

cd ${HOME}/project/tensorrt_demos/plugins
make

3、生成tensorRT,加速推理

cd ${HOME}/project/tensorrt_demos/yolo
bash darknet2onnx.sh
bash onnx2trt.sh

4、Run Yolo

python3 trt_yolo.py

Run on video and now we can switch between kalman filter mode to smooth the results.

python3 trt_yolo_with_screen.py --video /home/zq/Videos/20201022.flv -m  yolov3-416

yolov3_tensorrt_byd's People

Contributors

bamboosdu 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.