When i run deepstream app use onnx model (convert from keras model use keras2onnx) had error like under, how to slove it ?
ERROR: ModelImporter.cpp:472 In function importModel:
[4] Assertion failed: !_importer_ctx.network()->hasImplicitBatchDimension() && “This version of the ONNX parser only supports TensorRT INetworkDefinitions with an explicit batch dimension. Please ensure the network was created using the EXPLICIT_BATCH NetworkDefinitionCreationFlag.”
• Hardware Platform: Jetson Nano • DeepStream 5.0 • JetPack Version 4.4 • TensorRT Version 7.1
Hi, after add this property, i receive waring and error
WARNING: [TRT]: onnx2trt_utils.cpp:220: Your ONNX model has been generated with INT64 weights, while TensorRT does not natively support INT64. Attempting to cast down to INT32.
ERROR: builtin_op_importers.cpp:1811 In function importLSTM:
[8] Assertion failed: std::equal(activationAlphas.begin(), activationAlphas.begin() + NUM_ACTIVATIONS, activationAlphas.begin() + NUM_ACTIVATIONS) && “The parser does not currently support cases where activations for the reverse pass of the LSTM do not match the forward pass.”