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

model.eval() in local_analysis.py #12

Open
jxllp opened this issue Jul 13, 2021 · 0 comments
Open

model.eval() in local_analysis.py #12

jxllp opened this issue Jul 13, 2021 · 0 comments

Comments

@jxllp
Copy link

jxllp commented Jul 13, 2021

First of all, thank you for sharing the source code of this inspiring work. It's really appreciated!

After training the model, the results I was getting making predictions with local_analysis.py didn’t match the accuracy calculated by the method test() in train_and_test.py.

Please correct if I am wrong, but I believe it’s because in local_analysis.py, model.eval() is missing after loading the model.

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