Describe the bug
A clear and concise description of what the bug is.
After train part
in 0 Epoch
Predict raw result has been written into file. myModel/output_nn.out
Traceback (most recent call last):
File "main.py", line 476, in
train(train_data,decode,args)
File "main.py", line 369, in train
diction, words = dev_enc.decode(decode_data.output_nn, data.encoding, all_sent)
File "/home/nlplab/Development/ckc/dep2label/labeling.py", line 154, in decode
column = all_sent[self.index_to_decode][self.index_of_word]
To Reproduce
Steps to reproduce the behavior:
Edit the X configuration file and change Y parameter '...'
Run this command '....'
See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots, Logs and Error Messages
If applicable, add any screenshots, logs or error messages to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. Ubuntu 16.04]
Python version [ 2.7]
Pytorch version [ 0.3]
and some times didn`t write dev.seq file
Additional context
Add any other context about the problem here.
Are you able to run the usage commands from the README.md by following the exact instructions? Yes/Not, and why not?
Describe the bug A clear and concise description of what the bug is.
After train part
in 0 Epoch
Predict raw result has been written into file. myModel/output_nn.out Traceback (most recent call last): File "main.py", line 476, in
train(train_data,decode,args)
File "main.py", line 369, in train
diction, words = dev_enc.decode(decode_data.output_nn, data.encoding, all_sent)
File "/home/nlplab/Development/ckc/dep2label/labeling.py", line 154, in decode
column = all_sent[self.index_to_decode][self.index_of_word]
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots, Logs and Error Messages If applicable, add any screenshots, logs or error messages to help explain your problem.
Desktop (please complete the following information):
and some times didn`t write dev.seq file
Additional context Add any other context about the problem here.