yue-zhongqi / ifsl

[NeurIPS 2020] Released code for Interventional Few-Shot Learning
164 stars 23 forks source link

novel.hdf5? where is this file to initialized ? #4

Open loveproxy opened 3 years ago

yue-zhongqi commented 3 years ago

Hi can you be more specific about the problem you are facing?

freefeynman123 commented 3 years ago

Hi, I encounter the same problem - I'm trying to reproduce results from your paper and when I run an example command from README for MAML_MN_FT (python main.py --method metatrain --train_aug --test maml5_ifsl_resnet_tiered) it seems that initialize method in MethodTester calls another method (like simpleshot_initialize) which requires some novel.hdf5 file. Could you tell whether it's possible for you to provide this file or create one on our own?

yue-zhongqi commented 3 years ago

Hi,

These store the pre-saved features produced by pre-train network for faster training. I have uploaded the mini-ImageNet features produced by ResNet10 and WideResNet here: https://drive.google.com/drive/folders/1fhMkI4Taxcrf8wnWjZmTaLrI7iRpAhkQ?usp=sharing I also uploaded the save_feature.py file used to obtain the novel.hdf5 file.

Thanks & regards, Yue Zhongqi