Модель нагрузки Pytorchand Freeze
for param in model*.parameters():
param.requires_grad = False
coder
for param in model*.parameters():
param.requires_grad = False