yue-zhongqi / ifsl

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

How to config IFSL? #1

Closed Surflyan closed 3 years ago

Surflyan commented 3 years ago

hello, your job was nice. I try to run your code in MTL with "--config=mini_5_resnet_d" ,are you sure the current config is rigtht? how to get into mtl.py 68 line.
‘’‘
if args.param.learner == "IFSL": self.base_learner = IFSL(args.way, args.shot, self.pretrain, **args.param.ifsl_params) ’‘’ There seems to be a bug in this mtl.py 68 line. ” No IFSL“. Thanks

yue-zhongqi commented 3 years ago

Hi. That part of the code is not run in IFSL. IFSL runs with line 167: learner = DeconfoundedLearner(pretrain=self.pretrain, **self.args.param.ifsl_params)