You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
File "/home/user/myproject/FewShotLearning/model/lstm/metaLearner.py", line 145, in forward
self.lstm2_fS_iS_cS_deltaS)
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)
File "/home/user/myproject/FewShotLearning/model/lstm/metalstm.py", line 166, in forward
fS_n = torch.stack(fS_n, 0)
TypeError: stack(): argument 'tensors' (position 1) must be tuple of Tensors, not Tensor
The text was updated successfully, but these errors were encountered:
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)
File "/home/user/myproject/FewShotLearning/model/lstm/metaLearner.py", line 145, in forward
self.lstm2_fS_iS_cS_deltaS)
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)
File "/home/user/myproject/FewShotLearning/model/lstm/metalstm.py", line 166, in forward
fS_n = torch.stack(fS_n, 0)
TypeError: stack(): argument 'tensors' (position 1) must be tuple of Tensors, not Tensor
The text was updated successfully, but these errors were encountered: