open-sesame icon indicating copy to clipboard operation
open-sesame copied to clipboard

get postags and lemmas of sentences all zero when running prediction

Open zjxs1997 opened this issue 3 years ago • 0 comments

I run python -m sesame.targetid --mode predict --model_name fn1.7-pretrained-targetid --raw_input sentences.txt and find the ouput in logs/fn1.7-pretrained-targetid/predicted-targets.conll is total blank. It turned out that instance.postags and instance.lemmas are all lists of zero on line 435, sesame/targetid.py, which is a result of line 28&30, sesame/conll09.py. I wonder how can I solve this problem.

zjxs1997 avatar Aug 28 '20 12:08 zjxs1997