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

RTDETR python推理代码报错段错误 (核心已转储) #3

Closed
neverstoplearn opened this issue May 16, 2023 · 0 comments
Closed

Comments

@neverstoplearn
Copy link

定位到报错代码是:
def load_engine(engine_path):
print("ssss")
TRT_LOGGER = trt.Logger(trt.Logger.ERROR)
runtime = trt.Runtime(TRT_LOGGER)
print("tttt")
with open(engine_path, 'rb') as f:
print('zzz')
return runtime.deserialize_cuda_engine(f.read())
中的runtime = trt.Runtime(TRT_LOGGER) ,trt文件由TensorRT 8.6.0.12转出,在c++版本中可以正常推理,pytensorrt版本是8.6.0 ,推理报错段错误 (核心已转储),请问可能的原因是什么?谢谢。

@CYYAI CYYAI closed this as completed May 19, 2023
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

2 participants