Model załadunku Pytorchand zamrażanie
for param in model*.parameters():
param.requires_grad = False
coder
for param in model*.parameters():
param.requires_grad = False