Replies: 1 comment
-
@pmin20 this is timm, not transformers, in timm you could
to statically resize the model weights to this img size at creation time and will now accept or
to allow dynamic resize per batch accepts or
to allow I am not familiar with transformers equivalents. |
Beta Was this translation helpful? Give feedback.
-
Hi! I'm looking to use ViTModel, but want to input images with standardized size of 1920 x 1080. I see that most Huggingface examples with ViT utilize ViTModel.from_pretrained("google/vit-base-patch16-224-in21k"), but in my understanding this doesn't allow me to input images that were preprocessed with parameter size = {"height": 1920, "width": 1080} in ViTImageProcessor. How can I use ViTModel with a custom image size?
Beta Was this translation helpful? Give feedback.
All reactions