shouxieai / infer

A new tensorrt integrate. Easy to integrate many tasks
MIT License
388 stars 80 forks source link

NVInfer: 3: [executionContext.cpp::enqueueInternal::330] Error Code 3: API Usage Error (Parameter check failed at: runtime/api/executionContext.cpp::enqueueInternal::330, condition: bindings[x] != nullptr #7

Closed xiaochaoya closed 1 year ago

xiaochaoya commented 1 year ago

Hello, I reported this error when using the yolov5 model generated by myself for reasoning

2023-03-08 08-59-56 的屏幕截图

shouxieai commented 1 year ago

The infer requires only one output binding. And you provide 4, which is not adapted. You should read the code.