what should be a model variable here in my case? model = models.vgg16(pretrained=use_pretrained) ? if so it breaks on:
RuntimeError: Error(s) in loading state_dict for VGG:
	size mismatch for classifier.6.weight: copying a param with shape torch.Size([27, 4096]) from checkpoint, the shape in current model is torch.Size([1000, 4096]).
	size mismatch for classifier.6.bias: copying a param with shape torch.Size([27]) from checkpoint, the shape in current model is torch.Size([1000]).

when I do for key, value in state_dict:   print(key)
it’s:
ValueError: too many values to unpack (expected 2)


so it just prints key for key in state_dict:   print(key)
it’s:
model_state_dict