Traceback (most recent call last):


 "execute.py", line 352, in <module>

train()


 "execute.py", line 138, in train

gConfig['dec_vocab_size'])


 "C:\Users\ANKIT\Downloads\TENSORFLOW MODELS\tensor chat\tensorflow_chatbot000-master\tensorflow_chatbot-master\data\data_utils.py", line 141, in prepare_custom_data

data_to_token_ids(train_enc, enc_train_ids_path, enc_vocab_path, tokenizer)


 "C:\Users\ANKIT\Downloads\TENSORFLOW MODELS\tensor chat\tensorflow_chatbot000-master\tensorflow_chatbot-master\data\data_utils.py", line 126, in data_to_token_ids

normalize_digits)


 "C:\Users\ANKIT\Downloads\TENSORFLOW MODELS\tensor chat\tensorflow_chatbot000-master\tensorflow_chatbot-master\data\data_utils.py", line 108, in sentence_to_token_ids

words = tokenizer(sentence)


 "C:\Users\ANKIT\Downloads\TENSORFLOW MODELS\tensor chat\tensorflow_chatbot000-master\tensorflow_chatbot-master\data\data_utils.py", line 51, in basic_tokenizer

words = re.split(_WORD_SPLIT, space_separated_fragment)


 "C:\Users\ANKIT\AppData\Local\Programs\Python\Python35\lib\re.py", line 203, in split

return _compile(pattern, flags).split(string, maxsplit)
TypeError: cannot use a string pattern on a bytes-like object

Traceback (most recent call last):


 "/Users/vru959/anaconda2/lib/python2.7/unittest/case.py", line 329, in run

testMethod()


 "/Users/vru959/workshop/gensim/gensim/test/test_coherencemodel.py", line 223, in testPersistenceWithTextsGenerator

model.save(fname)


 "/Users/vru959/workshop/gensim/gensim/utils.py", line 499, in save

pickle_protocol=pickle_protocol)


 "/Users/vru959/workshop/gensim/gensim/utils.py", line 371, in _smart_save

pickle(self, fname, protocol=pickle_protocol)


 "/Users/vru959/workshop/gensim/gensim/utils.py", line 925, in pickle

_pickle.dump(obj, fout, protocol=protocol)
TypeError: can't pickle generator objects
