[ViT] Support fine-tuning with different image resolution (#5025)
* add from_checkpoint method for vit
* remove useless change
* Making interpolate_embeddings a utility function
* remove logging
* fix type hint
* fix return type check
* ad retuurns in docsting & unify type hint
* remove useless import
* fix issue: 'type' object is not subscriptable
* Fixing typing issues
* Making interpolation mode configurable
* formatting
Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
Showing
Please register or sign in to comment