ShengcaiLiao/TransMatcher

Model in eval mode during training

giuliadascenzi opened this issue · 1 comments

Hello @ShengcaiLiao,
thank you very much for your work.
I do have a question: which are the reasons why you are keeping your model (the feature extractor part) in eval mode during training? In the train epoch you do:
self.model.eval() self.criterion.train()

Thank you again.

Hi, it's explained here: ShengcaiLiao/QAConv#16