after loading a pretrained torch lightning model, I assume that I should run model.eval() and it turns off the gradiants and dropouts, still, Unexpectedly, the progress bar is shown and some epochs start to proceed. Does anyone have any idea what’s the probable re
Calling model.eval()
will disable dropout layers but will not freeze the model. To freeze parameters you would need to set their requires_grad
attribute to False
.
I’m not familiar enough with Lightning and don’t know what this progress bar represents.