../builder/cudnnBuilderGraph.cpp (794) - Assertion Error in checkDimsSanity: 0 (dims.d[i] >= 0)

I am building a tensorrt graph from ONNX model.

When preprocessorengine was built, mPreprocessorEngine = makeUnique(builder->buildEngineWithConfig(*preprocessorNetwork, *preprocessorConfig));

There was error as

[09/05/2020-15:35:49] [E] [TRT] ../builder/cudnnBuilderGraph.cpp (794) - Assertion Error in checkDimsSanity: 0 (dims.d[i] >= 0)

What could be the reason for Assertion Error in checkDimsSanity: 0 (dims.d[i] >= 0) in cudnnBuilderGraph.cpp?

Hi @edit_or
Apologies for delayed response.
Are you still facing the issue?

It is solved. Thanks

How did you solve?