-
Notifications
You must be signed in to change notification settings - Fork 77
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
AttributeError: 'range' object has no attribute 'remove' #6
Comments
I fixed it unsampled_indices = range(0, len(X_train)) ----> unsampled_indices = list(range(0, len(X_train))) |
Hi, This solution isn't working for me. |
It does work. Just make sure all the instances of unsampled_indices being initialised to range are converted to list first. |
I also faced the same issue and this solution by @Snehal-Reddy works fine. |
met similar error: AttributeError: 'range' object has no attribute 'ndim' |
fixed in this PR #31 |
list = list(range(N1, N2)). Just add 'list' function |
Hi~
I'm faced with problem in extract_batch_size.
_unsampled is range!! but 'range' object has no attribute 'remove'
how do I fix it?
The text was updated successfully, but these errors were encountered: