Solved by Latope2-150 in post #2 
              
              
                The problem is that you put all your layers in a list (self.fc_layers) that is not a module. Calling eval() puts every module of your model to eval mode recursively. However self.fc_layers not being a module, it does not switch it to eval mode. 
If you do not want to modify your model, you will have…