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
[root@sks bilstm_mai]# python3.6 Train_POS.py
Using TensorFlow backend.
Using existent pickle file: pkl/unidep_pos_cc.mai.300.vec.pkl
--- unidep_pos ---
2298 train sentences
1 dev sentences
1 test sentences
Traceback (most recent call last):
File "Train_POS.py", line 70, in
model.fit(epochs=25)
File "/home/Ankur_JRF/Backup_Ubuntu/LSTM/bilstm_mai/neuralnets/BiLSTM.py", line 381, in fit
self.buildModel()
File "/home/Ankur_JRF/Backup_Ubuntu/LSTM/bilstm_mai/neuralnets/BiLSTM.py", line 105, in buildModel
tokens = Embedding(input_dim=self.embeddings.shape[0], output_dim=self.embeddings.shape[1], weights=[self.embeddings], trainable=False, name='word_embeddings')(tokens_input)
IndexError: tuple index out of range
The text was updated successfully, but these errors were encountered:
ankur220693
changed the title
Bilstm.py error
Bilstm.py Getting an Error in Train_POS.py
Feb 25, 2019
ankur220693
changed the title
Bilstm.py Getting an Error in Train_POS.py
BiLSTM.py Getting an Error in Train_POS.py
Feb 25, 2019
[root@sks bilstm_mai]# python3.6 Train_POS.py
Using TensorFlow backend.
Using existent pickle file: pkl/unidep_pos_cc.mai.300.vec.pkl
--- unidep_pos ---
2298 train sentences
1 dev sentences
1 test sentences
Traceback (most recent call last):
File "Train_POS.py", line 70, in
model.fit(epochs=25)
File "/home/Ankur_JRF/Backup_Ubuntu/LSTM/bilstm_mai/neuralnets/BiLSTM.py", line 381, in fit
self.buildModel()
File "/home/Ankur_JRF/Backup_Ubuntu/LSTM/bilstm_mai/neuralnets/BiLSTM.py", line 105, in buildModel
tokens = Embedding(input_dim=self.embeddings.shape[0], output_dim=self.embeddings.shape[1], weights=[self.embeddings], trainable=False, name='word_embeddings')(tokens_input)
IndexError: tuple index out of range
The text was updated successfully, but these errors were encountered: