Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

load model pytorchand freeze

for param in model*.parameters():
    param.requires_grad = False
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #load #model #pytorchand #freeze
ADD COMMENT
Topic
Name
3+9 =