baiksung / MeTAL

Official PyTorch implementation of "Meta-Learning with Task-Adaptive Loss Function for Few-Shot Learning" (ICCV2021 Oral)
62 stars 13 forks source link

How to train MAML with ResNet-12? #6

Closed hu-my closed 2 years ago

hu-my commented 2 years ago

Hi, I want to know how to train baseline MAML with ResNet-12 in your project, could you tell me the corresponding command?

baiksung commented 2 years ago

Hi, Sorry for the late reply. I've been occupied with other works. You should create a new config file copied from experiment_config/MeTAL.json and set "meta_loss": false, set "backbone": "ResNet12" and change "experiment_name" correspondingly for 5-way 5-shot classification. Hope this helps!

Best, Sungyong