-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] Add classification fine-tuning utilities
- The PR aims at ending starter classification utils to flava examples. As of now the PR adds following things: - Finetuning trainer - Classification FLAVA - TorchVisionDataModule for easy composability of datasets from torchvision - Some changes to MLP module for more generalization - Some improvements/bug fixes to original FLAVA code - Splits the datamodules to better service their individual concerns. TODOs: - Add support for rest of the datasets. This involves levaraging the existing datamodules that we created in this PR along with support for seamlessly plugging different dataset - Add command line overriding on top - Add support for retrieval, zero-shot and other downstream tasks in an easily accessible form - Expose more things from the model other than just the loss Test Plan: The code is not in 100% working stage. I have tested only the changes in my PR. I expect everything to be stable by the end of the stack. ghstack-source-id: 2c0b03cde9ca54f662c20c4f6d40b73cc1b306cb Pull Request resolved: #8
- Loading branch information
Showing
7 changed files
with
420 additions
and
80 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
Oops, something went wrong.