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
when I run python train.py --conf_path=model_zoo/demo/conf.json . An Error occurs, anyone meet this error:
Traceback (most recent call last):
File "train.py", line 275, in
main(params)
File "train.py", line 227, in main
lm.train(optimizer, loss_fn)
File "/NeuronBlocks-master/LearningMachine.py", line 156, in train
logits_softmax = self.model(inputs_desc, length_desc, *param_list)
File "/anaconda3/envs/py35/lib/python3.5/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/NeuronBlocks-master/Model.py", line 357, in forward
inputs, lengths = transform_tensors2params(inputs_desc, length_desc, param_list)
File "/NeuronBlocks-master/utils/common_utils.py", line 176, in transform_tensors2params
lengths[key] = param_list[length_desc[key]]
IndexError: tuple index out of range
The text was updated successfully, but these errors were encountered:
when I run python train.py --conf_path=model_zoo/demo/conf.json . An Error occurs, anyone meet this error:
Traceback (most recent call last):
File "train.py", line 275, in
main(params)
File "train.py", line 227, in main
lm.train(optimizer, loss_fn)
File "
/NeuronBlocks-master/LearningMachine.py", line 156, in train/anaconda3/envs/py35/lib/python3.5/site-packages/torch/nn/modules/module.py", line 477, in calllogits_softmax = self.model(inputs_desc, length_desc, *param_list)
File "
result = self.forward(*input, **kwargs)
File "
/NeuronBlocks-master/Model.py", line 357, in forward/NeuronBlocks-master/utils/common_utils.py", line 176, in transform_tensors2paramsinputs, lengths = transform_tensors2params(inputs_desc, length_desc, param_list)
File "
lengths[key] = param_list[length_desc[key]]
IndexError: tuple index out of range
The text was updated successfully, but these errors were encountered: