It’s a kinda tedious task, but you have to map the layer’s weights now, like what was the later in the actual VGG16 and what’s in your own implementation, just access the .weight/.bias attribute and load the weights from the pretrained version to yours…