Closed knorth55 closed 5 years ago
check scikit-image
version for system python-skimage
(0.10.1
for ubuntu16.04
)
What happens without connectivity in the latest one? I think I may be fine removing connectivity arg completely.
But this looks already fine. So I’ll merge this. Thanks.
This error occurs
[ERROR] [1555064716.944284]: bad callback: <bound method MaskRCNNInstanceSegmentation.callback of <__main__.MaskRCNNInstanceSegmentation object at 0x7f2b7f6306d0>>
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "/home/chou/ros/jsk_ros_pkg_ws/src/jsk_recognition/jsk_perception/node_scripts/mask_rcnn_instance_segmentation.py", line 143, in callback
masks=masks, captions=captions)
File "/usr/local/lib/python2.7/dist-packages/chainer_mask_rcnn/utils/visualizations.py", line 74, in draw_instance_bboxes
mask_inst, connectivity=2)
TypeError: find_boundaries() got an unexpected keyword argument 'connectivity'
[ERROR] [1555064717.154081]: bad callback: <bound method MaskRCNNInstanceSegmentation.callback of <__main__.MaskRCNNInstanceSegmentation object at 0x7f2b7f6306d0>>
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "/home/chou/ros/jsk_ros_pkg_ws/src/jsk_recognition/jsk_perception/node_scripts/mask_rcnn_instance_segmentation.py", line 143, in callback
masks=masks, captions=captions)
File "/usr/local/lib/python2.7/dist-packages/chainer_mask_rcnn/utils/visualizations.py", line 74, in draw_instance_bboxes
mask_inst, connectivity=2)
TypeError: find_boundaries() got an unexpected keyword argument 'connectivity'
I meant removing that argument from code. But that’s fine.
You need a release, right?
Please upgrade chainer-mask-rcnn to 0.5.19.
because of find_boundaries(lbl, connectivity)