guillaumegenthial / tf_ner

Simple and Efficient Tensorflow implementations of NER models with tf.estimator and tf.data
Apache License 2.0
923 stars 275 forks source link

ValueError: max() arg is an empty sequence at line 36 #46

Closed samhithr closed 5 years ago

samhithr commented 5 years ago

I am getting this error in main.py while I try to run the program. Has anyone else faced the same issue.

gui-li commented 5 years ago

@samhithr Same error here, how did you solve it?

samhithr commented 5 years ago

@gui-li There were blank lines in my data which caused this error. Removing them resolved the issue.

gui-li commented 5 years ago

@samhithr Thank you so much, that's really helpful!