zhaowz

Results 2 comments of zhaowz

use your code and load your model but have error, can you help me? Traceback (most recent call last): File "/home/zhaozhe/tensorflow-gpu_zz131/deeplearning/speech_proj/Chinese-speech-to-text/speech_to_text.py", line 61, in model.load_weights(DIR+"/listen_model.chk"); File "/home/zhaozhe/python27/local/lib/python2.7/site-packages/keras/engine/topology.py", line 2652, in...

the author use python3, so char_index will have 2665 character. in python 2.x,you need decode word: all_words=[] for i in np.arange(0,len(texts)): for j in np.arange(1,len(texts[i])): all_words.append(texts[i][j]) all_words=[i.decode() for i in...