I heard a few times in the video that the model is pre-trained. Thus, I am thinking when I call unfreeze and then fit_one_cycle that the pre-trained model is updated with new weights and the original model on my system is now ‘not original’ anymore.
I am trying to figure out if I need to consider resetting the pre-trained model back to it’s initial state, and if so, how to do that.
resnet34 is the architecture of the model, its layers and connections, irrespective of its weights. When cnn_learner() is given pretrained=True, the layers are initialized with weights and biases from resnet34 already trained on ImageNet. This pretrained model will already be competent to classify typical images. If pretrained=False, weights and biases are initialized randomly. You will need to train them before they understand anything about images. Note that cnn_learner() alters the resnet34 architecture to suit your particular task.