Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

预测时出现错误 #60

Open
amberlwan opened this issue Oct 8, 2018 · 1 comment
Open

预测时出现错误 #60

amberlwan opened this issue Oct 8, 2018 · 1 comment

Comments

@amberlwan
Copy link

building word index...
source vocabulary file has already existed, continue to next stage.
target vocabulary file has already existed, continue to next stage.
loading word embedding, it will take few minutes...
Traceback (most recent call last):
File "/home/ontoweb/wanglixia/NER-BiRNN-CRF-shiyybua/rnn.py", line 189, in
iterator = get_predict_iterator(src_vocab_table, vocab_size, BATCH_SIZE)
File "/home/ontoweb/wanglixia/NER-BiRNN-CRF-shiyybua/utils.py", line 231, in get_predict_iterator
pred_dataset = tf.contrib.data.TextLineDataset(pred_file)
AttributeError: 'module' object has no attribute 'TextLineDataset'
,不知道该怎么解决

@amberlwan
Copy link
Author

已解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant