Unetr & SwinUnetr bottleneck layers weight freezing for transfer learning #6494
Replies: 1 comment
-
Hi @tangy5, could you please share some comments on this one, thanks in advance! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear MONAI Community,
I want to freeze the weights of the bottleneck layers of Unetr for transfer learning:

I want to set "requires_grad = True" for the weights of the bottleneck layers and "requires_grad = False" for the other layers except the bottleneck, but i have no idea which layers are bottleneck layers and which aren't. Could someone help me please?
I also want like to know about swinUnetr for freezing bottleneck layers.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions