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

Questions about evaluating metric ACC #219

Open
yichenwang231 opened this issue Oct 19, 2023 · 0 comments
Open

Questions about evaluating metric ACC #219

yichenwang231 opened this issue Oct 19, 2023 · 0 comments

Comments

@yichenwang231
Copy link

Thanks for your work, when I reproduced the classification problem, I found that the results obtained by the validation set and the test set during the training process were inconsistent, and the results of the test set after the training was completed were also inconsistent with the results obtained during the training process.

vali_loss, val_accuracy = self.vali(vali_data, vali_loader, criterion)

test_loss, test_accuracy = self.vali(test_data, test_loader, criterion)

When I evaluate the validation set twice like this, the results will be different
vali_loss, val_accuracy = self.vali(vali_data, vali_loader, criterion) vali_loss1, val_accuracy1 = self.vali(vali_data, vali_loader, criterion) print(val_accuracy,val_accuracy1 )
I don't know if it's due to randomness or other questions, but I'm looking forward to your answers.Thank you.

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