Skip to content
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

Fix bugs and update the code to support Pytorch 1.13.1 #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ErikValle
Copy link

  • datasets/mnist.py line 7 -> Add ":" after the if scale
  • datasets/svhn.py lines 9 and 10 -> Replace "train_23x23.mat" and "test_23x23.mat" with "svhn_train_32x32.mat" and "svhn_test_32x32.mat", respectively.
  • datasets/unaligned_data_loader.py line 101-> Replace transforms.Scale(scale) with transforms.Resize(scale)
  • solver_MSDA.py lines 236, 357, and 362 -> remove every [0] after .data
  • I created a new notebook in Colab for you to look at: https://colab.research.google.com/drive/1VOj-c5OwaQ5SF2dXqDWUoT1fioiZKbS6?usp=share_link

EC2 Default User and others added 2 commits February 19, 2023 12:46
- datasets/mnist.py line 7 -> Add ":" after the if scale
- datasets/svhn.py lines 9 and 10 -> Replace "train_23x23.mat" and "test_23x23.mat" with "svhn_train_32x32.mat" and "svhn_test_32x32.mat", respectively. 
- datasets/unaligned_data_loader.py line 101-> Replace transforms.Scale(scale) with transforms.Resize(scale)
- solver_MSDA.py lines 236, 357, and 362 -> remove every [0] after .data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant