We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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()
train_loss += loss.data[0]
train_loss += loss.data.item()
test_loss += loss.data[0]
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?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I ran the command as provided in readme:
Since, I am using pytorch >= 1.0
I had to fix the loss calculation:
train_loss += loss.data[0]
totrain_loss += loss.data.item()
and
test_loss += loss.data[0]
totest_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?
The text was updated successfully, but these errors were encountered: