tensorrtx icon indicating copy to clipboard operation
tensorrtx copied to clipboard

It don't work with yolov5-6.0

Open Wangwang99999 opened this issue 2 years ago • 1 comments

Env

  • GPU, GTX1060
  • OS, Win10
  • Cuda version, 10.2
  • TensorRT version, TensorRT-7.0.0.11_cuda10.2

About this repo

  • which branch/tag/commit are you using? master
  • which model? yolov5-6.0

Your problem

when I debug yololayer.cu, in line 'mKernelCount = vYoloKernel.size()', mKernelCount is zero, and there is no detected result. I compared with pretrained model and found the different: There is no 'model.24.anchor_grid' in trained model with yolov5-6.0, but it do exist in pretrained models, and exist in trained model with yolov5-5.0 How can I fix this problem?

Wangwang99999 avatar Jun 16 '22 02:06 Wangwang99999

Did you try the latest gen_wts.py?

wang-xinyu avatar Jun 27 '22 05:06 wang-xinyu

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 31 '22 02:08 stale[bot]