I have met the problem when i convert onnx model using calibrator.
[04/21/2023-18:36:15] [TRT] [E] 2: [helpers.h::divUp::70] Error Code 2: Internal Error (Assertion n > 0 failed. )
[04/21/2023-18:36:15] [TRT] [E] 3: [engine.cpp::~Engine::307] Error Code 3: API Usage Error (Parameter check failed at: runtime/api/engine.cpp::~Engine::307, condition: mObjectCounter.use_count() == 1. Destroying an engine object before destroying objects it created leads to undefined behavior.
[04/21/2023-18:36:15] [TRT] [E] 2: [calibrator.cpp::calibrateEngine::1181] Error Code 2: Internal Error (Assertion context->executeV2(&bindings) failed. )
And I have founded this
They are seem like one problem and have not founded good solution.
Is this a TensorRT’s bug?
Thanks for reporting this.
Could you share the steps to reproduce the error?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.