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

inference problem #4

Closed
carry-xz opened this issue Mar 30, 2022 · 1 comment
Closed

inference problem #4

carry-xz opened this issue Mar 30, 2022 · 1 comment

Comments

@carry-xz
Copy link

nice work!
I double that Why dropout=0.4 in training but not in inference?
QualityModel._get_model:
backbone = iresnet50(num_features=512, qs=1, use_se=False).to(f"cuda:{ctx}")

@fdbtrs
Copy link
Owner

fdbtrs commented Apr 12, 2022

It is NOT a problem. Dropout is only applied during the training mode. In the evaluation model, dropout is not applicable.

@fdbtrs fdbtrs closed this as completed Nov 9, 2022
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

2 participants