-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YOLOv9 build error #1481
Comments
I presume this may be because TensorRTX needs an older version of TensorRT installed? Would be great if you could confirm. Thanks! |
Yes, try to use TensorRT <= 8.5 |
Thanks for that. Will give it a shot. Cheers! |
Just installed TensorRT version 8.5 GA Update 2. This required installing CUDA version 11.8.0 and cuDNN version 8.9.7. I had previously installed CUDA version 12.3.2 to build OpenCV, so I currently have two installations of CUDA on my system. When I try to build TensorRTX for yolov9, I now get the following error when I run
Thanks! |
Seems your opencv is linking cuda12.3, you can try to use docker |
Ah, I see. Thanks for the suggestion. Will give that a shot. |
root@b37d8b2aacd1:/workspace/tensorrtx/yolov9/build# sudo ./yolov9 -s ../yolov9-c.wts yolov9-c.engine c |
@zmtttt have you check this path tensorrtx/yolov9/include/config.h Line 13 in d4aa52d
|
@WuxinrongY Can we make yolov9 to use fp16 by default? |
好 |
@wang-xinyu ,谢谢,不过const static char* gCalibTablePath = "/home/zhaomt/com/tensorrtx/yolov9/calib/coco_calib",,还是同样的错误 |
这个路径后面要加“/”,比如const static char* gCalibTablePath = "/home/zhaomt/com/tensorrtx/yolov9/calib/coco_calib/" |
Env
GPU, e.g. V100, RTX2080, TX2, Xavier NX, Nano, etc.
GTX 1070
OS, e.g. Ubuntu16.04, Win10, etc.
Linux Mint 21.3
Cuda version
Cuda version 12.3
TensorRT version
TensorRT version 10.0
About this repo
which branch/tag/commit are you using?
Latest
which model? yolov5, retinaface?
yolov9
Your problem
what is your command? e.g.
sudo ./yolov5 -s
I'm running
make
what's your output?
I get the following error:
I expect the build to complete without any errors.
The text was updated successfully, but these errors were encountered: