I am able to convert pre-trained models(pfe.onnx and rpn.onnx) into tensorrt. But I am not able to convert our models into tensorrt.
ONNX IR version: 0.0.4
Opset version: 9
Producer name: pytorch
Producer version: 1.1
Domain:
Model version: 0
Doc string:
While parsing node number 16 [Squeeze -> β175β]:
ERROR: /home/erisuser/p4sw/sw/gpgpu/MachineLearning/DIT/release/5.0/parsers/onnxOpenSource/builtin_op_importers.cpp:1570 In function importSqueeze:
[8] Assertion failed: axis != BATCH_DIM
ERROR: failed to parse onnx file
Hi, I see your problem is on another level but I wanted to ask you how you done the onnx -> tensorrt conversion. Because I could convert my sample neural network code written in pytorch to onnx but I canβt go through with the next step. Thanks!