How can one check is a model is in train or eval state?
module.training is the boolean you are looking for. 
That’s easy! Thank you!
great! thanks. just solve my issue.
me too, this just solved my issue, thanks Simon!
How can one check is a model is in train or eval state?
module.training is the boolean you are looking for. 
That’s easy! Thank you!
great! thanks. just solve my issue.
me too, this just solved my issue, thanks Simon!