Open jongsukchoi opened 5 years ago
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. Anybody please help
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'
np.array(range(x))
works, thanks above.
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?