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

mask error! #2

Open
qwspph opened this issue Jan 7, 2019 · 2 comments
Open

mask error! #2

qwspph opened this issue Jan 7, 2019 · 2 comments

Comments

@qwspph
Copy link

qwspph commented Jan 7, 2019

hello, when i use "-m <mask_file>", there is an error in "decomposition.py", line 45, self.intensities[self.labels_nz].
"IndexError: index 816 is out of bounds for axis 1 with size 816"
The error only come up when i use mask,can you help me? Thank u very much!

@qwspph qwspph closed this as completed Jan 7, 2019
@qwspph qwspph reopened this Jan 7, 2019
@qwspph qwspph changed the title mask mask error! Jan 7, 2019
@seanbell
Copy link
Owner

seanbell commented Jan 7, 2019

Does the mask file have the same resolution as the input image?

@qwspph
Copy link
Author

qwspph commented Jan 8, 2019

Does the mask file have the same resolution as the input image?
Yes i did.
I think the function "split_label_cluster()" in solver.py maybe has an error. When i commented out "new_to_old = new_to_old[new_to_old != -1]", line 387, the code run succeed.
Another question:undering invariable params, if i use mask, the intrinsic result will be worse than without mask?

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

2 participants