Skip to content

chgit0214/batchednms_yolov5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yolov5

Original codes from tensorrtx. I modified the yololayer and integrated batchedNMSPlugin. A yolov5s.wts is provided for fast demo. How to generate .wts can refer to https://github.com/wang-xinyu/tensorrtx/tree/master/yolov5.

How to Run, yolov5s as example

  1. build and run
mkdir build
cd build
cmake ..
make
sudo ./yolov5 -s             // serialize model to plan file i.e. 'yolov5s.engine'
sudo ./yolov5 -d  ../samples // deserialize plan file and run inference, the images in samples will be processed.
  1. check the images generated, as follows. _zidane.jpg and _bus.jpg

  1. run Python example, please install Python tensorrt and Pycuda and then
python yolov5_trt.py

More Information

See the readme in tensorrtx home page.

Known issues

None!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published