Skip to content

code of theT-PAMI paper "Curvature-Adaptive Meta-Learning for Fast Adaptation to Manifold Data"

Notifications You must be signed in to change notification settings

zhigao2017/CurAML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

CurAML

Code of the T-PAMI paper "Curvature-Adaptive Meta-Learning for Fast Adaptation to Manifold Data"

Here we provide the code of training our model on the Mini-ImageNet dataset.

  1. Download the images of the Mini-ImageNet dataset.

  2. The folder 'pretrain' is used to pretrain the backbone of a product manifold neural network. Training data is in the 'materials' folder. You can run

python train_classifier.py 
  1. The folder 'meta-learning' is used for meta-learning. You can run
python miniimagenet_train.py --k_spt 5 --meta_lr 5e-5 --update_lr 2e-1 --k_lr 1e-5

or

python miniimagenet_train.py --k_spt 1 --meta_lr 5e-5 --update_lr 2e-1 --k_lr 1e-5

Contact

[email protected]

About

code of theT-PAMI paper "Curvature-Adaptive Meta-Learning for Fast Adaptation to Manifold Data"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages