cbaziotis / ntua-slp-semeval2018

Deep-learning models of NTUA-SLP team submitted in SemEval 2018 tasks 1, 2 and 3.
MIT License
83 stars 30 forks source link

IndexError: tuple index out of range #15

Closed ignacioaolmos closed 4 years ago

ignacioaolmos commented 4 years ago

Hi, I get this error when running sentiment_2017.py The embeddings loaded are those from ntua_twitter_300.txt

Could someone help me with that? Here the error message:

Traceback (most recent call last): File "/home/ignacioalvarez/PycharmProjects/ntua-slp-semeval2018/model/pretraining/sentiment2017.py", line 39, in monitor="val", label_transformer=transformer) File "/home/ignacioalvarez/PycharmProjects/ntua-slp-semeval2018/utils/train.py", line 338, in define_trainer _config) File "/home/ignacioalvarez/PycharmProjects/ntua-slp-semeval2018/modules/nn/models.py", line 184, in init kwargs) File "/home/ignacioalvarez/PycharmProjects/ntua-slp-semeval2018/modules/nn/models.py", line 85, in init embedding_dim=embeddings.shape[1], IndexError: tuple index out of range