Git Product home page Git Product logo

tensorrt_yolo3_module's Introduction

TensorRT_yolo3_module


1. Install TensorRT on Ubuntu

2. Test TensorRT_yolo3_module

  • a. Download yolo3.weight from this, and change the name to yolov3-608.weights.
  • b. python2 weight_to_onnx.py. To execute this script you must use python 2.7, and you will have a file named yolov3-608.onnx.
  • c1. python3 onnx_to_trt_1batch.py. If you only need to process one image each time, for example you only have one camera. Executing this script you need python 3.x, and you will have a file named yolov3-608.trt, which is the file we ultimately need.
  • c2. python3 onnx_to_trt_multibatch.py. If you need to process multiple images each time, for example you have multiple cameras. Executing this script you also need python 3.x, and you will have a file named yolov3-608.trt, which is the file we ultimately need. And the data accuracy is FP16, so the acceleration is more obvious.
  • d1.python3 trt_yolo3_module_1batch.py, if you choose c1
  • d2.python3 trt_yolo3_module_multibatch.py,if you choose c2. It detects 4 images at a time.

3. Import TensorRT_yolo3_module

  • This project has been packaged into class, so you can use it directly according import xx command.

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.