You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I ran data_loader.py ,I got the following error:(Does anyone know how to solve this error?Thank you!)
E:\Python3.5\python.exe C:/Users/Administrator/PycharmProjects/text-to-image/data_loader.py
[TL] Creating vocabulary.
Total words: 0
Words in vocabulary: 1
WARNING:tensorflow:From C:\Users\Administrator\PycharmProjects\text-to-image\tensorlayer\nlp.py:372: FastGFile.init (from tensorflow.python.platform.gfile) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.gfile.GFile.
Wrote vocabulary file: C:\Users\Administrator\PycharmProjects\text-to-image/vocab.txt
Traceback (most recent call last):
File "C:/Users/Administrator/PycharmProjects/text-to-image/data_loader.py", line 52, in
vocab = tl.nlp.Vocabulary(VOC_FIR, start_word="", end_word="", unk_word="")
File "C:\Users\Administrator\PycharmProjects\text-to-image\tensorlayer\nlp.py", line 244, in init
assert start_word in reverse_vocab
AssertionError
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
When I ran data_loader.py ,I got the following error:(Does anyone know how to solve this error?Thank you!)
E:\Python3.5\python.exe C:/Users/Administrator/PycharmProjects/text-to-image/data_loader.py
[TL] Creating vocabulary.
Total words: 0
Words in vocabulary: 1
WARNING:tensorflow:From C:\Users\Administrator\PycharmProjects\text-to-image\tensorlayer\nlp.py:372: FastGFile.init (from tensorflow.python.platform.gfile) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.gfile.GFile.
Wrote vocabulary file: C:\Users\Administrator\PycharmProjects\text-to-image/vocab.txt
Traceback (most recent call last):
File "C:/Users/Administrator/PycharmProjects/text-to-image/data_loader.py", line 52, in
vocab = tl.nlp.Vocabulary(VOC_FIR, start_word="
", end_word="", unk_word="")File "C:\Users\Administrator\PycharmProjects\text-to-image\tensorlayer\nlp.py", line 244, in init
assert start_word in reverse_vocab
AssertionError
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: