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
...
balu/DataSelectionAndGeneration/Bds_nostratify.py", line 35, in Bds_nostratify
X1 = Xr[0:r, :]
TypeError: slice indices must be integers or None or have an __index__ method
A possible solution is to change r = np.floor(s * N) in source line 33, for either:
r = np.floor(s * N).astype(int)
r = np.uint8(np.floor(s * N))
The text was updated successfully, but these errors were encountered:
A possible solution is to change
r = np.floor(s * N)
in source line 33, for either:r = np.floor(s * N).astype(int)
r = np.uint8(np.floor(s * N))
The text was updated successfully, but these errors were encountered: