FreezeEncoderLayers

FreezeEncoderLayers[net]

freezes the "start" stem node and the first 3 encoder blocks of net ("enc_1" .. "enc_3") for transfer learning,returning a LearningRateMultipliers spec to pass to NetTrain.

FreezeEncoderLayers[net,n]

freezes "start" plus the first n encoder blocks instead.

FreezeEncoderLayers[net,n,includeStart]

controls whether "start" is included, default True – set to False if the input channel count differs from the pretrained net, since "start" is then freshly initialized and must stay trainable.

QMRITOOLS SYMBOL
QMRITools`
QMRITools`

FreezeEncoderLayers

FreezeEncoderLayers[net]

freezes the "start" stem node and the first 3 encoder blocks of net ("enc_1" .. "enc_3") for transfer learning,returning a LearningRateMultipliers spec to pass to NetTrain.

FreezeEncoderLayers[net,n]

freezes "start" plus the first n encoder blocks instead.

FreezeEncoderLayers[net,n,includeStart]

controls whether "start" is included, default True – set to False if the input channel count differs from the pretrained net, since "start" is then freshly initialized and must stay trainable.