Skip to content

Commit

Permalink
fix yolo world node rosparam
Browse files Browse the repository at this point in the history
  • Loading branch information
ojh6404 committed Aug 3, 2024
1 parent 655f77e commit 70dd01c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deep_vision_ros/node_scripts/yolo_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self):
super(YOLONode, self).__init__()
self.get_mask = rospy.get_param("~get_mask", False)
self.yolo_config = YOLOConfig.from_args(
model_type=rospy.get_param("~model_type", "yolov8x_worldv2"),
model_type=rospy.get_param("~yolo_model_type", "yolov8x_worldv2"),
device=rospy.get_param("~device", "cuda:0"),
)
self.model = YOLOModel(self.yolo_config)
Expand Down

0 comments on commit 70dd01c

Please sign in to comment.