resample_abs_pos_embed does not apply when checkpoint_path is used #1796
Unanswered
Luciennnnnnn
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@LuoXin-s you can use
if no other adaptation is needed (ie # classes, input channel change, etc), or
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm creating a ViT model with following code:
Where I use a img_size 64.
I expect resample_abs_pos_embed will also applies to this use case like loading pretrained model from timm.
Beta Was this translation helpful? Give feedback.
All reactions