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

Few changes in cifar10-rotate/main.py #1

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

Conversation

Piyushi-0
Copy link

Thanks for releasing the code. Following are a few small issues that I tried to fix in the file cifar10-rotate/main.py.

  1. The trainloader & testloader contained (inputs, targets) only, but the code also tried to load 'clusters'. Reference in the case of testloader. Reference in the case of trainloader. This caused code to crash with an error. I have tried to fix this in the revised code. I also noted that the cluster variables are not used in the rest of the code.
  2. 'net' was not defined before loading the checkpoint. Reference. This was fixed in the revised code.

Thanks for your time.

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