Skip to content

lyooyl/yolov8_infer_wts2engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reference

Reference wang-xinyu tensorrtx

YOLOv8

The Pytorch implementation is ultralytics/ultralytics

Requirements

TensorRT 8.2
OpenCV 3.6.0

Config

Choose the model n/s/m/l/x from command line arguments.
Check more configs in include/config.h

How to Run, yolov8s as example

  1. generate .wts from pytorch with .pt
// download https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8s.pt
cd yolov8
python gen_wts.py
// a file 'yolov8s.wts' will be generated.
  1. Run CMakeLists.txt with Cmake

  2. Open project and run it

INT8 Quantization

  1. set the macro USE_INT8 in config.h and make

  2. serialize the model and test

bus

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published