dusty-nv / ros_deep_learning

Deep learning inference nodes for ROS / ROS2 with support for NVIDIA Jetson and TensorRT
866 stars 258 forks source link

segnet node - colors not read correctly for custom model #88

Open asimonov opened 2 years ago

asimonov commented 2 years ago

there is error in these lines:

https://github.com/dusty-nv/ros_deep_learning/blob/master/src/node_segnet.cpp#L194

https://github.com/dusty-nv/ros_deep_learning/blob/master/src/node_segnet.cpp#L208

must read:

    ROS_DECLARE_PARAMETER("class_colors_path", class_colors_path);

and

    ROS_GET_PARAMETER("class_colors_path", class_colors_path);
jodusan commented 2 years ago

Should be fixed with this one https://github.com/dusty-nv/ros_deep_learning/pull/93

@dusty-nv please merge

dusty-nv commented 2 years ago

Thanks @dulex123, just merged that.