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

Error in UnariesNet when rois is empty #24

Open
okoky-krypto opened this issue Mar 4, 2018 · 1 comment
Open

Error in UnariesNet when rois is empty #24

okoky-krypto opened this issue Mar 4, 2018 · 1 comment

Comments

@okoky-krypto
Copy link

I am trying to run the code on a different dataset, RunParts works perfectly, however when I try to run unaries I get an error when rois_np in run_bulk_features is empty. The reason its empty is because in get_rois method, indices_reduced is empty as there are no values above the set threshold.

Is there something wrong with my setup to get this or is there a way to handle the exception when rois is empty?

@gooa1121
Copy link
Collaborator

Hi,
It was true that without any rois, the process couldn't continue.
I've made a commit to fix the problem. It should be able to work now.
Feel free to tell me if this problem still happen.

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