I apologize if this question has already been covered, I couldn’t find much resources on this topic. I am trying to execute some block of code in my model’s forward pass, but only after a certain number of epochs has been reached. From my understanding there is no straightforward way of achieving this (e.g. this GitHub issue actually describes exactly what I’m trying to do, but led to nowhere, unfortunately).