Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have erro! #1

Open
HHIR opened this issue Nov 12, 2017 · 0 comments
Open

I have erro! #1

HHIR opened this issue Nov 12, 2017 · 0 comments

Comments

@HHIR
Copy link

HHIR commented Nov 12, 2017

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,)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant