-
Notifications
You must be signed in to change notification settings - Fork 8
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
BUG Error in combining train & valid loader for Vision #65
Comments
Was this commented out when you run # for i in train_idxs:
# dataset.targets[i] = np.where(classes == dataset.targets[i])[0][0] |
Yes, But that was because I had initially transformed train indices in |
You need to use deep copies of the dataset on that, too. There's no point of deep copies if you don't save the original. Then the copy becomes "original." |
Yes, I'm using a deepcopy of the dataset for the |
You have to create a deep copy each time you use those functions. |
If I add deep copies before using each function, I get the error - |
Create deep copies inside the functions |
I'm still getting the same error even after creating copies inside the functions |
When creating train+val loaders for tuning CNNs for vision data, the following traceback is received:
The text was updated successfully, but these errors were encountered: