You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for name, param in reference_unet.named_parameters():
if "up_blocks.3" in name:
param.requires_grad_(False)
else:
param.requires_grad_(True)
but up_blocks.3.resnets need grad (cuz "norm_hidden_states" is the normed resnet's output), should it be ? :
for name, param in reference_unet.named_parameters():
if "up_blocks.3.attentions" in name:
param.requires_grad_(False)
else:
param.requires_grad_(True)
The text was updated successfully, but these errors were encountered:
In train stage 1 , code is:
but up_blocks.3.resnets need grad (cuz "norm_hidden_states" is the normed resnet's output), should it be ? :
The text was updated successfully, but these errors were encountered: