You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My problem is : IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices
I have found many methods to deal with this problem, but nothing is useful. Many people in Google said that we should use 'int' in this code, but this also do nothing.
This problem is in sampling.py ,line 77 "label_patches = label_patches[label_selector]"