Hi, I’m following isaac_ros_rtdetr tutorial but I’m stuck at model conversion from .etlt to TensorRT model (see the output below).
Any suggestion on how to solve?
:/workspaces/isaac_ros-dev$ /opt/nvidia/tao/tao-converter -k sdetr -t fp16 -e ${ISAAC_ROS_WS}/isaac_ros_assets/models/synthetica_detr/sdetr_grasp.plan -p images,1x3x640x640,2x3x640x640,4x3x640x640 -p orig_target_sizes,1x2,2x2,4x2 ${ISAAC_ROS_WS}/isaac_ros_assets/models/synthetica_detr/sdetr_grasp.etlt
[INFO] [MemUsageChange] Init CUDA: CPU +13, GPU +0, now: CPU 19, GPU 139 (MiB)
[INFO] [MemUsageChange] Init builder kernel library: CPU +1445, GPU +268, now: CPU 1541, GPU 407 (MiB)
[libprotobuf ERROR google/protobuf/text_format.cc:298] Error parsing text-format onnx2trt_onnx.ModelProto: 1:1: Invalid control characters encountered in text.
[libprotobuf ERROR google/protobuf/text_format.cc:298] Error parsing text-format onnx2trt_onnx.ModelProto: 1:12: Invalid control characters encountered in text.
[libprotobuf ERROR google/protobuf/text_format.cc:298] Error parsing text-format onnx2trt_onnx.ModelProto: 1:17: Already saw decimal point or exponent; can't have another one.
[libprotobuf ERROR google/protobuf/text_format.cc:298] Error parsing text-format onnx2trt_onnx.ModelProto: 1:14: Message type "onnx2trt_onnx.ModelProto" has no field named "pytorch".
[ERROR] ModelImporter.cpp:733: Failed to parse ONNX model from file: /tmp/fileIBqR9A
[ERROR] Failed to parse the model, please check the encoding key to make sure it's correct
[ERROR] Number of optimization profiles does not match model input node number.
Aborted (core dumped)
Thank you!