-
Notifications
You must be signed in to change notification settings - Fork 75
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
Unable to generate seg engine trained with Ultralytics version 8.0.183 #27
Comments
I alse met the same question:
Do you solved it? @YumainOB @cyrusbehr |
Sorry I still have no clue on this issue. @cyrusbehr do you have some idea? |
|
As far as I know, this is not possible to update TensorRT without upgrading the jetpack. On the other side using Ultralytics repo and precisely "yolo export ..." using this jetpack/TensorRT without any issue, so I doubt that updating them is the only way to have the issue solved. Best regards |
I v'got the same issue. Here is extra logs from tensorrt |
I found a way to get the engine completely generated. Thanks to this post: https://forums.developer.nvidia.com/t/convtranspose-onnx-to-tensorrt-conversion-fail/181720/2. To apply this idea I added the following line in engine.cpp: That's a nice point But I'm facing another issue later with a runtime failure... Here are the logs: A similar message happens whith precision set to FP32: @cyrusbehr Do you have any clue? |
Hello and thank you for your good job in bringing Yolov8 to the TensorRT C++ side.
I would like to help if it is possible but for now I'm facing an issue with the engine creation in case of a segmentation model. It seems that there is a missing stuff for "ConvTranspose_178 (CaskDeconvolution)" if I don't missunderstand logs.
I run the code on a TX2 board (with branch feat/jetson-tx2 obviously)
Here is the jetson environment:
$ jetson_release
Software part of jetson-stats 4.2.3 - (c) 2023, Raffaello Bonghi
Model: quill - Jetpack 4.6.4 [L4T 32.7.4]
NV Power Mode[0]: MAXN
Serial Number: [XXX Show with: jetson_release -s XXX]
Hardware:
Platform:
jtop:
Libraries:
Here is the command I use:
./benchmark --model yolov8n_seg.onnx --input ~/workspace/ppanto_yolo/test_ressources --precision FP16 --class-names class1 class2
Here are the relevant pat of the logs.
Do you have an idea of what I can do to get the model working right? What I don't understand is that I can export to engine using Ultralytics export and trtexec. Do you have a clue?
Best regards
The text was updated successfully, but these errors were encountered: