Skip to content

SongyiGao/OICEFFSL

Repository files navigation

Prepare data:

  1. Download MiniImagenet dataset from the Google Drive.

    Download Link: https://drive.google.com/open?id=1q9lrXjjFct8RkoBPk8Mbkn1H1mZNFn5U

  2. Extract subfolders to './OICEFSL/filelists/miniImagenet/images'.

  3. Run script "OICEFFSL/filelists/miniImagenet/DataPreprocessing.sh".

Train:

python ./train.py --dataset miniImagenet --model ResNet18 --method baseline --train_aug

Test:

python ./save_features.py --dataset miniImagenet --model ResNet18 --method baseline --train_aug

python ./test.py --dataset miniImagenet --model ResNet18 --method baseline --train_aug

Our testbed builds upon several existing publicly available code. Specifically, we have modified and integrated the following code into this project:

CloserLookFewShot:https://github.com/wyharveychen/CloserLookFewShot

About

Source code about 《Only image cosine embedding for few shot learning》

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published