We are trying to infer a semantic dnn on AGX. The model was created with tensor flow.
The optimization tool tensorRT_optimization generate a bin file without mentioning any error.
However, when using the function dwDNN_initializeTensorRTFromFile we got the following error:
cudnnSerializationUtils.h:67: const T& nvinfer1::cudnn::extractBlobs(const ifb::LayerParams&) [with T = ifb::CaskDeconvolutionBlobs; ifb::BlobsUnion tag = (ifb::BlobsUnion)5u]: Assertion `x == tag’ failed.
FYI, the same model in FP32 and FP16, does not produce any errors…
What could be the problem?
Thanks in advance,
Sacha
Hi Sacha,
Could you please share network details such as input Dimensions, input/output blob names which are required by tensorRT optimization tool.
Also, it would be great if you can share the type of layers in your network. We can check if any unsupported layers causing the problem.
Dear sacha,
I have used the following command and generated TensorRT model and able to load in without any issue on my Host PC.
/usr/local/driveworks-1.2/tools/dnn/tensorRT_optimization --modelType=uff --uffFile=/path/to/uff --int8 --inputDims=3x1208x1920 --inputBlobs=features --outputBlobs=probabilities.
Could you please confirm you are facing issue in dwDNN_initializeTensorRTFromFile call by keep exit(0) after it.
Dear sacha,
Could you please check this symptom with our latest release. I don’t notice any error when using the function dwDNN_initializeTensorRTFromFile.
Please find our latest release(sdkmanager-0.9.9.2351) at https://developer.nvidia.com/nvidia-drive-downloads