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

There are issues when I use my own datasets #64

Open mzisbest opened 4 years ago

mzisbest commented 4 years ago

Excuse me, when I use my own datasets(I change the original data to my own data, and the path remains the same), there are some bugs in Pycharm, look at the link

微信截图_20191209105120 微信截图_20191209105252 微信截图_20191209105406

Could you please tell me what should I do

TanYueyin0310 commented 3 years ago

Excuse me, when I use my own datasets(I change the original data to my own data, and the path remains the same), there are some bugs in Pycharm, look at the link

微信截图_20191209105120 微信截图_20191209105252 微信截图_20191209105406

Could you please tell me what should I do

Hey, I faced this problem too. And I find that this problem occurs when we run one dataset first (like the example dataset) and then change to another. All you need to do is to delete the 'results' folder ( 'tf_ner/models/lstm_crf/results') before we change the dataset. Or you can pull this repository again before you change dataset, but be sure to save important files.

Hope that it's still helpful. This is a really late reply tho 😇