Skip to content

resample_abs_pos_embed does not apply when checkpoint_path is used #1794

@Luciennnnnnn

Description

@Luciennnnnnn

I'm creating a ViT model with following code:

model = timm.create_model('vit_base_patch16_224', pretrained=False, img_size=64,
                                  checkpoint_path=local_checkpoint_path,
                                  global_pool='avg')

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions