How to freeze layers using trainer?

You should inspect the weights to see where they difer then. Trainer will not change the requires_grad value of your parameters.

2 Likes