zzw922cn / Automatic_Speech_Recognition

End-to-end Automatic Speech Recognition for Madarian and English in Tensorflow
MIT License
2.84k stars 538 forks source link

Deep Speech 2 build_graph not called #42

Closed dreamibor closed 6 years ago

dreamibor commented 6 years ago

Hello,

In the Deep Speech model that you defined in "models/deepSpeech2.py", the function build_graph was not called, this will result an error as following: "AttributeError: 'DeepSpeech2' object has no attribute 'var_trainable_op' " I compared with the "dynamic_brnn.py", you should add "self.build_graph(args, maxTimeSteps)" in the class initialiser.

Thanks,

zzw922cn commented 6 years ago

@dreamibor thank you, ill fix it soon!