-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fbsync] [ViT] Support fine-tuning with different image resolution (#…
…5025) Summary: * 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 Reviewed By: prabhat00155 Differential Revision: D33253466 fbshipit-source-id: 79bf6855f2dcee3c2fef6c05c243a0dc8dfee25e Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
- Loading branch information
1 parent
66a5b76
commit a08a28e
Showing
1 changed file
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters