mstrise / dep2label

Dependency Parsing as Sequence Labeling
MIT License
26 stars 1 forks source link

[BUG] #4

Closed cjf9028 closed 5 years ago

cjf9028 commented 5 years ago

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:

  1. Edit the X configuration file and change Y parameter '...'
  2. Run this command '....'
  3. 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):

and some times didn`t write dev.seq file

Additional context Add any other context about the problem here.