'VGG' has no attribute 'fc' Pytorch

There is no fc in torchvision VGG. You have to use classifier . Check this link for changing the layers.