text_plain_output_1.png image_output_1.png
from torchvision import datasets, models, transforms

model = models.resnet152(pretrained=True)
for param in model.parameters():
    param.requires_grad = False
print(model)