Modelo de carga Pytorchand Freeze

for param in model*.parameters():
    param.requires_grad = False
coder