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

A Question about Research mi_lira_2021: why set training=True at Inference #427

Open
Shua-Kang opened this issue Feb 23, 2023 · 0 comments

Comments

@Shua-Kang
Copy link

Hi, I have a question about the code of Research mi_lira_2021.
It set training=True at inference:

logits = model.model(this_x, training=True)

But since the model contains batchnorm layers, it should be training=True to avoid updating the parameters in the inference.
So why training=True 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