Skip to content

Error Code 3: API Usage Error 报错 #31

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

Open
Errorsteved opened this issue Jan 27, 2025 · 1 comment
Open

Error Code 3: API Usage Error 报错 #31

Errorsteved opened this issue Jan 27, 2025 · 1 comment

Comments

@Errorsteved
Copy link

我使用作者提供的bev_stage_ft.onnx,运行./export ../model/bev_stage_ft.onnx model.engine将onnx转换成tensorrt时,报错
ERROR: [network.cpp::getInput::1888] Error Code 3: API Usage Error (Parameter check failed at: optimizer/api/network.cpp::getInput::1888, condition: index < getNbInputs() ) Segmentation fault (core dumped)
使用的是tensorrt版本是8.5.2.2-1+cuda11.8,请问应该如何解决呢?

@CN-Antonio
Copy link

貌似是TensorRT版本问题,8.5存在问题,8.6修复了。参考Error Code 3: API Usage Error (Parameter check failed at

用8.6版本TRT编译后,自行导出对应版本的engine试试

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