This repository provides the algorithm demonstration for the paper A Maximum Log-Likelihood Method for Imbalanced Few-Shot Learning Tasks.
Install dependencies (I prefer a conda environment)
conda create -n MLL_FSL python=3.8.13conda activate MLL_FSLpip install -r requirements.txtpython -m ipykernel install --user --name MLL_FSLpython setup.py develop(orpython setup.py installif you don't want to do development)
Download preprocessed features and trained models
- This data is over 20GB and we are currently in the process of finding a public drive to host the data.
cd ./scripts/bash run_all_inductive.shto run all inductive resultsbash run_all_transductive.shto run all transductive results
For further questions or details, reach out to Samuel Hess (shess@email.arizona.edu)
Special thanks to the authors of many prior works that have shared their code, including: