kentonl / e2e-coref

End-to-end Neural Coreference Resolution
Apache License 2.0
524 stars 173 forks source link

error when running setup_training #100

Open aymen-souid-github opened 2 years ago

aymen-souid-github commented 2 years ago

python /home/souid/Downloads/conll-2012/v?/scripts/skeleton2conll.py /home/souid/Downloads/ontonotes-release-5.0/data/files/data/arabic/annotations/nw/ann/01/ann_0105.parse /home/souid/Downloads/conll-2012/v4/data/train/data/arabic/annotations/nw/ann/01/ann_0105.v4_gold_skel /home/souid/Downloads/conll-2012/v4/data/train/data/arabic/annotations/nw/ann/01/ann_0105.v4_gold_conll --text Traceback (most recent call last): File "/home/souid/Downloads/conll-2012/v3/scripts/skeleton2conll.py", line 1176, in start(input_fname, conll_fname, output_fname, encoding, changes) File "/home/souid/Downloads/conll-2012/v3/scripts/skeleton2conll.py", line 879, in start for a_tree in iterate_trees(inf): File "/home/souid/Downloads/conll-2012/v3/scripts/skeleton2conll.py", line 294, in iterate_trees return [x for x in _iterate_trees_helper(string_seq) if x.strip()] File "/home/souid/Downloads/conll-2012/v3/scripts/skeleton2conll.py", line 331, in _iterate_trees_helper raise Exception("Parens should have been zero at end, were %s" % parens) Exception: Parens should have been zero at end, were -3 Exit code: 1