Seam to be giving me an error when making the vocab20000 file.
Mode : train
Preparing data in working_dir/
Creating vocabulary working_dir/vocab20000.enc from data/train.enc
processing line 100000
Full Vocabulary Size : 45504
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/klas/Documents/Python/Untitled Folder/tensorflow_chatbot-master/data_utils.py", line 135, in prepare_custom_data
create_vocabulary(enc_vocab_path, train_enc, enc_vocabulary_size, tokenizer)
File "/home/klas/Documents/Python/Untitled Folder/tensorflow_chatbot-master/data_utils.py", line 85, in create_vocabulary
vocab_file.write(w + '\n')
TypeError: write() argument 1 must be unicode, not str
Seam to be giving me an error when making the vocab20000 file.
Preparing data in working_dir/ Creating vocabulary working_dir/vocab20000.enc from data/train.enc processing line 100000