Here’s a suggestion, try importing both the models, either print the model or calculate the summary of the model. Either case you will know wether the input/output parameters are same or different. Post the output here.
Incase they are different add another layer to your model and match the outputs.
You can check the model summary in the following ways:
from torchvision import models
model = models.vgg16()
print(model)

or
from torchvision import models
from torchsummary import summary

vgg = models.vgg16()
summary(vgg, (3, 224, 224))

3 is your inputs, 224,224 is your input dimensions