-
Notifications
You must be signed in to change notification settings - Fork 801
Open
Description
`>> Mode : train
Preparing data in working_dir/
Creating vocabulary working_dir/vocab20000.enc from data/train.enc
processing line 100000
Full Vocabulary Size : 45467
Vocab Truncated to: 20000
Traceback (most recent call last):
File "execute.py", line 352, in
train()
File "execute.py", line 138, in train
gConfig['dec_vocab_size'])
File "/home/samir/tensorflow_chatbot/data_utils.py", line 135, in prepare_custom_data
create_vocabulary(enc_vocab_path, train_enc, enc_vocabulary_size, tokenizer)
File "/home/samir/tensorflow_chatbot/data_utils.py", line 85, in create_vocabulary
vocab_file.write(w + '\n')
TypeError: write() argument 1 must be unicode, not str
`
Metadata
Metadata
Assignees
Labels
No labels