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 "keyword_information_extraction/train.py", line 394, in
main()
File "keyword_information_extraction/train.py", line 166, in main
logger=logger,train_dataset= train_dataset)
File "keyword_information_extraction/train.py", line 259, in train
predictions = model(text_features)
File "/home/ubuntu/anaconda3/envs/app/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/home/ubuntu/ICDAR-2019-RRC-SROIE-master-1/keyword_information_extraction/model/charlm/charlm_cnn_highway_lstm.py", line 145, in forward
cnn_features = torch.cat(pool_layers, dim=1)
IndexError: Dimension out of range (expected to be in range of [-1, 0], but got 1)
The text was updated successfully, but these errors were encountered:
Well this is weird...I need more details about your custom dataset, code, etc. As it is supposed to work for any number of classes >= 2, I am wondering what you have changed.
Traceback (most recent call last):
File "keyword_information_extraction/train.py", line 394, in
main()
File "keyword_information_extraction/train.py", line 166, in main
logger=logger,train_dataset= train_dataset)
File "keyword_information_extraction/train.py", line 259, in train
predictions = model(text_features)
File "/home/ubuntu/anaconda3/envs/app/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/home/ubuntu/ICDAR-2019-RRC-SROIE-master-1/keyword_information_extraction/model/charlm/charlm_cnn_highway_lstm.py", line 145, in forward
cnn_features = torch.cat(pool_layers, dim=1)
IndexError: Dimension out of range (expected to be in range of [-1, 0], but got 1)
The text was updated successfully, but these errors were encountered: