HaosUtopia/Mars_Rover

err when roslaunch deeplabv3plus_ros example.launch

dbdxnuliba opened this issue · 0 comments

2022-04-25 15:50:23.245755: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set. If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU. To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile.
[ERROR] [1650873023.476285, 4.558000]: bad callback: <bound method SegmentImage.image_callback of <main.SegmentImage object at 0x7f236b5ff910>>
Traceback (most recent call last):
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "/home/dell1804/ws_mars_rover/src/Mars_Rover-main/deeplabv3plus_ros/nodes/deeplabv3plus_ros.py", line 60, in image_callback
seg_img,seg_map = self.segmentation(cv_image)
File "/home/dell1804/ws_mars_rover/src/Mars_Rover-main/deeplabv3plus_ros/nodes/deeplabv3plus_ros.py", line 73, in segmentation
segmented_image, segmented_map = run_visualization(img)
File "/home/dell1804/ws_mars_rover/src/Mars_Rover-main/deeplabv3plus_ros/nodes/deeplabv3plus_ros.py", line 275, in run_visualization
seg_img, seg_map_img = vis_segmentation(resized_img, seg_map)
File "/home/dell1804/ws_mars_rover/src/Mars_Rover-main/deeplabv3plus_ros/nodes/deeplabv3plus_ros.py", line 182, in vis_segmentation
cv2.CHAIN_APPROX_SIMPLE)
ValueError: too many values to unpack