DeepOcclusion icon indicating copy to clipboard operation
DeepOcclusion copied to clipboard

Error in UnariesNet when rois is empty

Open okoky-krypto opened this issue 6 years ago • 1 comments

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?

okoky-krypto avatar Mar 04 '18 11:03 okoky-krypto

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.

gooa1121 avatar May 12 '18 12:05 gooa1121