houqb / dss_crf

MIT License
33 stars 25 forks source link

I have erro! #1

Open HHIR opened 6 years ago

HHIR commented 6 years ago

Respectfully, I have this error, I will be happy if you help me to fix it. thanks.

python dense_hsal.py im1.png anno1.png out1.png Traceback (most recent call last): File "dense_hsal.py", line 27, in labels = relabel_sequential(cv2.imread(sys.argv[2], 0))[0].flatten() File "/usr/local/lib/python2.7/dist-packages/skimage/segmentation/_join.py", line 123, in relabel_sequential forward_map[labels0] = np.arange(offset, offset + len(labels0) + 1) ValueError: shape mismatch: value array of shape (3,) could not be broadcast to indexing result of shape (2,)