Solved by ptrblck in post #2 
              
              
                vgg19_bn uses the model.classifier attribute for the last classification block, while ResNets use model.fc. 
You are currently freezing the complete model and assign a new attribute named fc with the nn.Sequential block. 
Change it to 
transfer_model.classifier = nn.Sequential(nn.Linear(25088, 500),…