Skip to content
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

请问我在运行yolosort时遇到这个问题怎么回事 #35

Open
JinD123 opened this issue Apr 10, 2022 · 5 comments
Open

请问我在运行yolosort时遇到这个问题怎么回事 #35

JinD123 opened this issue Apr 10, 2022 · 5 comments

Comments

@JinD123
Copy link

JinD123 commented Apr 10, 2022

D:\srtp1\yolov5-deepsort-tensorrt-main\Release>yolosort
yolov5_trt_create ...
yolov5_trt_create cuda engine...
[04/10/2022-19:16:32] [W] [TRT] Current optimization profile is: 0. Please ensure there are no enqueued operations pending in this context prior to switching profiles
yolov5_trt_create buffer ...
yolov5_trt_create stream ...
yolov5_trt_create done ...
create yolov5-trt , instance = 000002EE1C5D80C0
[04/10/2022-19:16:32] [E] [TRT] C:\source\rtSafe\coreReadArchive.cpp (55) - Serialization Error in nvinfer1::rt::CoreReadArchive::verifyHeader: 0 (Length in header does not match remaining archive length)
[04/10/2022-19:16:32] [E] [TRT] INVALID_STATE: Unknown exception
[04/10/2022-19:16:32] [E] [TRT] INVALID_CONFIG: Deserialize the cuda engine failed.

@RichardoMrMu
Copy link
Owner

请确定

char* yolo_engine = "";

是否是正确的路径

@JinD123
Copy link
Author

JinD123 commented Apr 13, 2022

char* yolo_engine = "D:/srtp1/yolov5-deepsort-tensorrt-main/engine/yolov5s.engine";
char* sort_engine = "D:/srtp1/yolov5-deepsort-tensorrt-main/engine/deepsort.engine";

这是我的路径名称,我感觉是对的

@JinD123
Copy link
Author

JinD123 commented Apr 13, 2022

image

@liuxiaoxiao666
Copy link

请问你这个问题解决了吗

@Mithranda
Copy link

你的tensorRT版本是8以上吗?我觉得应该是一类问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants