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

Can't reproduce the results with sample run provided for CIFAR-10 #7

Open
feat7 opened this issue Oct 22, 2022 · 0 comments
Open

Can't reproduce the results with sample run provided for CIFAR-10 #7

feat7 opened this issue Oct 22, 2022 · 0 comments

Comments

@feat7
Copy link

feat7 commented Oct 22, 2022

I ran the command as provided in readme:

python easy_mixup.py --sess my_session_1 --seed 11111

Since, I am using pytorch >= 1.0
I had to fix the loss calculation:

train_loss += loss.data[0] to train_loss += loss.data.item()
and test_loss += loss.data[0] to test_loss += loss.data.item()

The maximum accuracy I got was 93.90% which translates to an error of 6.1

What am I doing wrong here?

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

No branches or pull requests

1 participant