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 use your DeepConvLSTM_py3.py, I get this error.
Traceback (most recent call last):
File "/mnt/ba3b04da-ce1b-4c21-ad1b-3aff7d337cdf/wangxing/convlstm/DeepConvLSTM_py3.py", line 394, in
train(net,X_train,y_train,X_val,y_val,**args)
File "/mnt/ba3b04da-ce1b-4c21-ad1b-3aff7d337cdf/wangxing/convlstm/DeepConvLSTM_py3.py", line 180, in train
output, h = net(inputs,h,inputs.size()[0]) # Run inputs through network
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "/mnt/ba3b04da-ce1b-4c21-ad1b-3aff7d337cdf/wangxing/convlstm/DeepConvLSTM_py3.py", line 86, in forward
if model.n_layers > 0:
NameError: name 'model' is not defined
It seems like you do not define 'model' before use it.
The text was updated successfully, but these errors were encountered:
When I use your DeepConvLSTM_py3.py, I get this error.
Traceback (most recent call last):
File "/mnt/ba3b04da-ce1b-4c21-ad1b-3aff7d337cdf/wangxing/convlstm/DeepConvLSTM_py3.py", line 394, in
train(net,X_train,y_train,X_val,y_val,**args)
File "/mnt/ba3b04da-ce1b-4c21-ad1b-3aff7d337cdf/wangxing/convlstm/DeepConvLSTM_py3.py", line 180, in train
output, h = net(inputs,h,inputs.size()[0]) # Run inputs through network
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "/mnt/ba3b04da-ce1b-4c21-ad1b-3aff7d337cdf/wangxing/convlstm/DeepConvLSTM_py3.py", line 86, in forward
if model.n_layers > 0:
NameError: name 'model' is not defined
It seems like you do not define 'model' before use it.
The text was updated successfully, but these errors were encountered: