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

Dropout or not #82

Closed
DISAPPEARED13 opened this issue Oct 11, 2021 · 2 comments
Closed

Dropout or not #82

DISAPPEARED13 opened this issue Oct 11, 2021 · 2 comments

Comments

@DISAPPEARED13
Copy link

if i use this loss function to calculate my model loss, should I set 'use_dropout' as False to get stable output? Thanks a lot. : )

@DISAPPEARED13 DISAPPEARED13 changed the title Dropout Dropout or not Oct 11, 2021
@richzhang
Copy link
Owner

use_dropout should be True, since it was trained with dropout. Setting it in eval mode will make things stable.

@DISAPPEARED13
Copy link
Author

I found some definition in LPIPS() saying "eval_mode", and point to model.eval(), so I don't need a extra .eval() for my LPIPS model. And thanks alot.!

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