Hi,
System Specifications:
- Operating System: Jetson AGX ORIN JetPack 6.0
I trained a rt-detr model follow the RT-DETR (Realtime Detection Transformer) - Ultralytics YOLO Docs, and covert it using yolo export model=./weights/rt-detr-l.pt format=onnx
then
ros2 launch isaac_ros_examples isaac_ros_examples.launch.py \
launch_fragments:=foundationpose \
interface_specs_file:=${ISAAC_ROS_WS}/isaac_ros_assets/isaac_ros_foundationpose/quickstart_interface_specs.json \
mesh_file_path:=${ISAAC_ROS_WS}/isaac_ros_assets/isaac_ros_foundationpose/tx/my_tx.obj \
texture_path:=${ISAAC_ROS_WS}/isaac_ros_assets/isaac_ros_foundationpose/tx/my_tx.jpg \
score_engine_file_path:=${ISAAC_ROS_WS}/isaac_ros_assets/models/foundationpose/score_trt_engine.plan \
rt_detr_model_file_path:=${ISAAC_ROS_WS}/isaac_ros_assets/models/foundationpose/synthetica_detr/rt-detr-l.onnx \
refine_engine_file_path:=${ISAAC_ROS_WS}/isaac_ros_assets/models/foundationpose/synthetica_detr/rt-detr-l.plan
error
[component_container_mt-1] [INFO] [1724421025.299676381] [tensor_rt]: [NitrosNode] Initializing NitrosNode
[component_container_mt-1] [INFO] [1724421025.304128165] [tensor_rt]: [NitrosNode] Terminating the running application
[component_container_mt-1] [INFO] [1724421025.304218080] [tensor_rt]: [NitrosContext] Interrupting GXF...
[component_container_mt-1] 2024-08-23 21:50:25.304 ERROR gxf/std/program.cpp@551: Attempted interrupting when not running (state=0).
[component_container_mt-1] 2024-08-23 21:50:25.304 ERROR gxf/core/runtime.cpp@1468: Graph interrupt failed with error: GXF_INVALID_EXECUTION_SEQUENCE
[component_container_mt-1] [ERROR] [1724421025.304299292] [tensor_rt]: [NitrosContext] GxfGraphInterrupt Error: GXF_INVALID_EXECUTION_SEQUENCE
[component_container_mt-1] [INFO] [1724421025.304319643] [tensor_rt]: [NitrosContext] Waiting on GXF...
[component_container_mt-1] [INFO] [1724421025.304339610] [tensor_rt]: [NitrosContext] Deinitializing...
[component_container_mt-1] [INFO] [1724421025.304357401] [tensor_rt]: [NitrosContext] Destroying context
[component_container_mt-1] [INFO] [1724421025.304380536] [tensor_rt]: [NitrosNode] Application termination done
[component_container_mt-1] [ERROR] [1724421025.317514297] [isaac_ros_examples.container]: Component constructor threw an exception: [TensorRTNode] Empty engine_file_path_, this needs to be set per the engine
[ERROR] [launch_ros.actions.load_composable_nodes]: Failed to load node 'tensor_rt' of type 'nvidia::isaac_ros::dnn_inference::TensorRTNode' in container '/isaac_ros_examples/container': Component constructor threw an exception: [TensorRTNode] Empty engine_file_path_, this needs to be set per the engine
[component_container_mt-1] [INFO] [1724421025.324423496] [isaac_ros_examples.container]: Load Library: /workspaces/isaac_ros-dev/install/isaac_ros_rtdetr/lib/librtdetr_decoder_node.so
[component_container_mt-1] [INFO] [1724421025.329629259] [isaac_ros_examples.container]: Found class: rclcpp_components::NodeFactoryTemplate<nvidia::isaac_ros::rtdetr::RtDetrDecoderNode>
[component_container_mt-1] [INFO] [1724421025.329727942] [isaac_ros_examples.container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<nvidia::isaac_ros::rtdetr::RtDetrDecoderNode>
[component_container_mt-1] [INFO] [1724421025.351558399] [rtdetr_decoder.ManagedNitrosSubscriber]: Starting Managed Nitros Subscriber
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/rtdetr_decoder' in container '/isaac_ros_examples/container'
[component_container_mt-1] 2024-08-23 21:50:35.073 WARN gxf/std/yaml_file_loader.cpp@1077: Using unregistered parameter 'dummy_rx' in component ''.
[component_container_mt-1] 2024-08-23 21:50:35.074 WARN gxf/std/yaml_file_loader.cpp@1077: Using unregistered parameter 'dummy_rx' in component ''.
[component_container_mt-1] 2024-08-23 21:50:35.076 WARN gxf/std/yaml_file_loader.cpp@1077: Using unregistered parameter 'dev_id' in component 'stream'.
[component_container_mt-1] [INFO] [1724421035.079313486] [foundationpose_node]: [NitrosNode] Initializing and running GXF graph
[component_container_mt-1] 2024-08-23 21:50:35.103 WARN gxf/std/scheduling_terms.cpp@333: 'min_size' parameter in MultiMessageAvailableSchedulingTerm is deprecated. Use 'min_sum' with SumOfAll sampling mode instead
[component_container_mt-1] 2024-08-23 21:50:35.103 WARN gxf/std/scheduling_terms.cpp@333: 'min_size' parameter in MultiMessageAvailableSchedulingTerm is deprecated. Use 'min_sum' with SumOfAll sampling mode instead
[component_container_mt-1] 2024-08-23 21:50:35.103 WARN gxf/std/scheduling_terms.cpp@333: 'min_size' parameter in MultiMessageAvailableSchedulingTerm is deprecated. Use 'min_sum' with SumOfAll sampling mode instead
[component_container_mt-1] 2024-08-23 21:50:35.103 WARN gxf/std/scheduling_terms.cpp@333: 'min_size' parameter in MultiMessageAvailableSchedulingTerm is deprecated. Use 'min_sum' with SumOfAll sampling mode instead
[component_container_mt-1] 2024-08-23 21:50:35.107 WARN gxf/std/scheduling_terms.cpp@333: 'min_size' parameter in MultiMessageAvailableSchedulingTerm is deprecated. Use 'min_sum' with SumOfAll sampling mode instead
[component_container_mt-1] [INFO] [1724421035.128228896] [foundationpose_node]: [NitrosNode] Node was started
[component_container_mt-1] 2024-08-23 21:50:35.811 WARN ./gxf/extensions/tensor_rt/tensor_rt_inference.cpp@281: Rebuilding CUDA engine /workspaces/isaac_ros-dev/isaac_ros_assets/models/foundationpose/synthetica_detr/walker.plan (forced by config). Note: this process may take up to several minutes.
[component_container_mt-1] Could not open file /tmp/refine_model.onnx
[component_container_mt-1] Could not open file /tmp/refine_model.onnx
[component_container_mt-1] 2024-08-23 21:50:42.242 ERROR ./gxf/extensions/tensor_rt/tensor_rt_inference.cpp@151: TRT ERROR: ModelImporter.cpp:730: Failed to parse ONNX model from file: /tmp/refine_model.onnx
[component_container_mt-1] 2024-08-23 21:50:42.242 ERROR ./gxf/extensions/tensor_rt/tensor_rt_inference.cpp@472: Failed to parse ONNX file /tmp/refine_model.onnx
[component_container_mt-1] 2024-08-23 21:50:42.621 ERROR ./gxf/extensions/tensor_rt/tensor_rt_inference.cpp@287: Failed to create engine plan for model /tmp/refine_model.onnx.
[component_container_mt-1] 2024-08-23 21:50:42.622 WARN gxf/std/entity_executor.cpp@495: Failed to start entity [IFHCSCJKZE_refine_inference]
[component_container_mt-1] 2024-08-23 21:50:42.622 WARN gxf/std/multi_thread_scheduler.cpp@342: Error while executing entity E415 named 'IFHCSCJKZE_refine_inference': GXF_FAILURE
[component_container_mt-1] 2024-08-23 21:50:42.625 ERROR gxf/std/entity_executor.cpp@586: Entity [IFHCSCJKZE_refine_inference] must be in Started, Tick Pending, Ticking or Idle stage before stopping. Current state is StartPending
[component_container_mt-1] 2024-08-23 21:50:43.128 ERROR gxf/std/entity_executor.cpp@210: Entity with eid 296 not found!
[component_container_mt-1] [WARN] [1724421043.128632355] [foundationpose_node]: [NitrosNode] The heartbeat entity (eid=296) was stopped. The graph may have been terminated.
[component_container_mt-1] [INFO] [1724421043.168373716] [foundationpose_node]: [NitrosNode] Terminating the running application
[component_container_mt-1] [INFO] [1724421043.168430993] [foundationpose_node]: [NitrosContext] Interrupting GXF...
[component_container_mt-1] 2024-08-23 21:50:43.168 ERROR gxf/core/runtime.cpp@1468: Graph interrupt failed with error: GXF_FAILURE
[component_container_mt-1] [ERROR] [1724421043.168616776] [foundationpose_node]: [NitrosContext] GxfGraphInterrupt Error: GXF_FAILURE
[component_container_mt-1] [INFO] [1724421043.168628744] [foundationpose_node]: [NitrosContext] Waiting on GXF...
[component_container_mt-1] 2024-08-23 21:50:43.168 ERROR gxf/std/program.cpp@574: wait failed. Deactivating...
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Job Statistics Report (regular) |
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Name | Count | Time (Median - 90% - Max) [ms] | Load (%) | Exec(ms) | Variation (Median - 90% - Max) [ns] |
[component_container_mt-1] |------------------------------------------------------------------------------------------------------------------------------------------------------------------|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Entity Statistics Report (regular) |
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Entity Name | Entity State | Count | Time (Median - 90% - Max) [ms] |
[component_container_mt-1] |------------------------------------------------------------------------------------------------------------------------------------------------------------------|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] 2024-08-23 21:50:43.211 WARN gxf/std/entity_warden.cpp@464: Component of type nvidia::gxf::MultiThreadScheduler, cid 540 failed to deinitialize with code GXF_FAILURE
[component_container_mt-1] 2024-08-23 21:50:43.211 ERROR gxf/core/runtime.cpp@751: Could not deinitialize entity 'IFHCSCJKZE_utils' (E538): GXF_FAILURE
[component_container_mt-1] 2024-08-23 21:50:43.211 ERROR gxf/std/program.cpp@576: Deactivation failed.
[component_container_mt-1] 2024-08-23 21:50:43.211 ERROR gxf/core/runtime.cpp@1476: Graph wait failed with error: GXF_FAILURE
[component_container_mt-1] [ERROR] [1724421043.211704406] [foundationpose_node]: [NitrosContext] GxfGraphWait Error: GXF_FAILURE
[component_container_mt-1] [INFO] [1724421043.211727989] [foundationpose_node]: [NitrosNode] Application termination done
[component_container_mt-1] [INFO] [1724421043.255598172] [resize_left_viz]: [NitrosNode] Terminating the running application
[component_container_mt-1] [INFO] [1724421043.255647642] [resize_left_viz]: [NitrosContext] Interrupting GXF...
[component_container_mt-1] [INFO] [1724421043.256447219] [resize_left_viz]: [NitrosContext] Waiting on GXF...
[component_container_mt-1] [INFO] [1724421043.256476786] [resize_left_viz]: [NitrosContext] Deinitializing...
[component_container_mt-1] [INFO] [1724421043.258284538] [resize_left_viz]: [NitrosContext] Destroying context
[component_container_mt-1] [INFO] [1724421043.258637160] [resize_left_viz]: [NitrosNode] Application termination done
[component_container_mt-1] [INFO] [1724421043.285778335] [resize_mask_node]: [NitrosNode] Terminating the running application
[component_container_mt-1] [INFO] [1724421043.285822045] [resize_mask_node]: [NitrosContext] Interrupting GXF...
[component_container_mt-1] [INFO] [1724421043.287726880] [resize_mask_node]: [NitrosContext] Waiting on GXF...
[component_container_mt-1] [INFO] [1724421043.287767454] [resize_mask_node]: [NitrosContext] Deinitializing...
[component_container_mt-1] [INFO] [1724421043.290581173] [resize_mask_node]: [NitrosContext] Destroying context
[component_container_mt-1] [INFO] [1724421043.290948323] [resize_mask_node]: [NitrosNode] Application termination done
[component_container_mt-1] [INFO] [1724421043.351694357] [reshape_node]: [NitrosNode] Terminating the running application
[component_container_mt-1] [INFO] [1724421043.351736435] [reshape_node]: [NitrosContext] Interrupting GXF...
[component_container_mt-1] [INFO] [1724421043.352350165] [reshape_node]: [NitrosContext] Waiting on GXF...
[component_container_mt-1] [INFO] [1724421043.352375828] [reshape_node]: [NitrosContext] Deinitializing...
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Job Statistics Report (regular) |
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Name | Count | Time (Median - 90% - Max) [ms] | Load (%) | Exec(ms) | Variation (Median - 90% - Max) [ns] |
[component_container_mt-1] |------------------------------------------------------------------------------------------------------------------------------------------------------------------|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Entity Statistics Report (regular) |
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Entity Name | Entity State | Count | Time (Median - 90% - Max) [ms] |
[component_container_mt-1] |------------------------------------------------------------------------------------------------------------------------------------------------------------------|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Job Statistics Report (regular) |
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Name | Count | Time (Median - 90% - Max) [ms] | Load (%) | Exec(ms) | Variation (Median - 90% - Max) [ns] |
[component_container_mt-1] |------------------------------------------------------------------------------------------------------------------------------------------------------------------|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Entity Statistics Report (regular) |
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Entity Name | Entity State | Count | Time (Median - 90% - Max) [ms] |
[component_container_mt-1] |------------------------------------------------------------------------------------------------------------------------------------------------------------------|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] [INFO] [1724421043.358963315] [reshape_node]: [NitrosContext] Destroying context
[component_container_mt-1] [INFO] [1724421043.359194056] [reshape_node]: [NitrosNode] Application termination done
[component_container_mt-1] [INFO] [1724421043.372938314] [interleaved_to_planar_node]: [NitrosNode] Terminating the running application
[component_container_mt-1] [INFO] [1724421043.372984616] [interleaved_to_planar_node]: [NitrosContext] Interrupting GXF...
[component_container_mt-1] [INFO] [1724421043.373586347] [interleaved_to_planar_node]: [NitrosContext] Waiting on GXF...
[component_container_mt-1] [INFO] [1724421043.373608138] [interleaved_to_planar_node]: [NitrosContext] Deinitializing...
[component_container_mt-1] [INFO] [1724421043.380180298] [interleaved_to_planar_node]: [NitrosContext] Destroying context
[component_container_mt-1] [INFO] [1724421043.380385504] [interleaved_to_planar_node]: [NitrosNode] Application termination done
[component_container_mt-1] [INFO] [1724421043.418566748] [resize_left_rt_detr_node]: [NitrosNode] Terminating the running application
[component_container_mt-1] [INFO] [1724421043.418610330] [resize_left_rt_detr_node]: [NitrosContext] Interrupting GXF...
[component_container_mt-1] [INFO] [1724421043.422785167] [resize_left_rt_detr_node]: [NitrosContext] Waiting on GXF...
[component_container_mt-1] [INFO] [1724421043.422830509] [resize_left_rt_detr_node]: [NitrosContext] Deinitializing...
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Job Statistics Report (regular) |
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Name | Count | Time (Median - 90% - Max) [ms] | Load (%) | Exec(ms) | Variation (Median - 90% - Max) [ns] |
[component_container_mt-1] |------------------------------------------------------------------------------------------------------------------------------------------------------------------|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Entity Statistics Report (regular) |
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Entity Name | Entity State | Count | Time (Median - 90% - Max) [ms] |
[component_container_mt-1] |------------------------------------------------------------------------------------------------------------------------------------------------------------------|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Job Statistics Report (regular) |
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Name | Count | Time (Median - 90% - Max) [ms] | Load (%) | Exec(ms) | Variation (Median - 90% - Max) [ns] |
[component_container_mt-1] |------------------------------------------------------------------------------------------------------------------------------------------------------------------|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Entity Statistics Report (regular) |
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Entity Name | Entity State | Count | Time (Median - 90% - Max) [ms] |
[component_container_mt-1] |------------------------------------------------------------------------------------------------------------------------------------------------------------------|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] [INFO] [1724421043.425448493] [resize_left_rt_detr_node]: [NitrosContext] Destroying context
[component_container_mt-1] [INFO] [1724421043.425770494] [resize_left_rt_detr_node]: [NitrosNode] Application termination done
[component_container_mt-1] | Job Statistics Report (regular) |
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Name | Count | Time (Median - 90% - Max) [ms] | Load (%) | Exec(ms) | Variation (Median - 90% - Max) [ns] |
[component_container_mt-1] |------------------------------------------------------------------------------------------------------------------------------------------------------------------|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Entity Statistics Report (regular) |
[component_container_mt-1] |==================================================================================================================================================================|
[component_container_mt-1] | Entity Name | Entity State | Count | Time (Median - 90% - Max) [ms] |
[component_container_mt-1] |------------------------------------------------------------------------------------------------------------------------------------------------------------------|
[component_container_mt-1] |==================================================================================================================================================================|
[INFO] [component_container_mt-1]: process has finished cleanly [pid 2072247]
I have already tried the method described in the NVIDIA Developer Forums post at https://forums.developer.nvidia.com/t/isaac-ros-foundationpose-for-pallets/296926/20
and have successfully trained a YOLOv8s model for object detection. I’ve also created my own .obj
and .png
files, and the mask image output looks good. However, I’m not receiving any pose outputs. I’m wondering if this could be related to the fact that my input image size is 640x320. Could you help me understand if the image size is causing this issue?
I am grateful for any advice or guidance you can provide. I am eager to resolve this issue and continue working with ISAAC FoundationPose.
Thank you in advance for your help.
Best regards,