DeepHyperX icon indicating copy to clipboard operation
DeepHyperX copied to clipboard

why during validation not using model.eval()?

Open Ponytai1j opened this issue 4 years ago • 1 comments

Since some model have BN,dropout layers, why dont use model.eval() in the val function?

am really confused, hope someone can help me. thx in advance.

Ponytai1j avatar Feb 19 '22 09:02 Ponytai1j

Hi , maybe the val function do not effect the training result. but i think it's necessary to use model.eval() before validation.

Neymar1011 avatar Apr 28 '22 08:04 Neymar1011