FewShotLearning
FewShotLearning copied to clipboard
Pytorch implementation of the paper "Optimization as a Model for Few-Shot Learning"
Learner nParams: 32901 Traceback (most recent call last): File "main.py", line 38, in results = importlib.import_module(opt['metaLearner']).run(opt, data) File "/home/i/meta/FewShotLearning/model/lstm/train-lstm.py", line 121, in run opt['batchSize'][opt['nTrainShot']]) File "/home/i/conda/envs/py27/lib/python2.7/site-packages/torch/nn/modules/module.py", line 325, in __call__...
`Traceback (most recent call last): File "main.py", line 45, in results = importlib.import_module(opt['metaLearner']).run(opt,data) File "/home/user/myproject/FewShotLearning/model/lstm/train-lstm.py", line 123, in run opt['batchSize'][opt['nTrainShot']]) File "/home/user/anaconda3/envs/FewShotLearning/lib/python2.7/site-packages/torch/nn/modules/module.py", line 489, in __call__ result = self.forward(*input, **kwargs)...
Hello I have few questions , maybe you could give me some advice. What's the mean of samples_per_class and samples_per_class_eval in miniImagenet.py And I want to used my own data...
Traceback (most recent call last): File "main.py", line 39, in results = importlib.import_module(opt['metaLearner']).run(opt,data) File "/home/user/myproject/FewShotLearning/model/lstm/train-lstm.py", line 121, in run opt['batchSize'][opt['nTrainShot']]) File "/home/user/anaconda3/envs/FewShotLearning/lib/python2.7/site-packages/torch/nn/modules/module.py", line 489, in __call__ result = self.forward(*input, **kwargs)...
I have Imagenet 2012 train dataset downloaded and all the tars are extracted together in a single folder. How do get miniimagenet out of it? There are no zero-padded image...
Hello, Thank you for sharing the code. Now I am preparing for the reproduction of your code using miniimagenet. I am wondering if you could provide me the miniimagenet dataset....
Did you solve the problem about the gradients not flowing to LSTM modules? I was trying to implement Learning to Learn by gradient decent by gradient decent using tensorflow, and...
I thought there should be a '/' before the second '*' in line 50 of file 'create_miniImagenet.py'