pannous / tensorflow-speech-recognition

🎙Speech recognition using the tensorflow deep learning framework, sequence-to-sequence neural networks
Other
2.17k stars 638 forks source link

Any solution for the error -> Exception: Invalid objective: catagorical_crossentropy #41

Open toseef-ahmd opened 7 years ago

toseef-ahmd commented 7 years ago

I came across with some errors. I solved some of them but I can't solve this one. Speech_data.py comes with error below.

Looking for data spoken_numbers_pcm.tar in data/ Extracting data/spoken_numbers_pcm.tar to data/ 'tar' is not recognized as an internal or external command, operable program or batch file. Data ready! loaded batch of 2402 files Traceback (most recent call last): File "demo.py", line 15, in net = tflearn.regression(net, optimizer='adam', learning_rate=learning_rate, loss='catagorical_crossentropy') File "C:\python35\lib\site-packages\tflearn\layers\estimator.py", line 174, in regression loss = objectives.get(loss)(incoming, placeholder) File "C:\python35\lib\site-packages\tflearn\objectives.py", line 10, in get return get_from_module(identifier, globals(), 'objective') File "C:\python35\lib\site-packages\tflearn\utils.py", line 25, in get_from_module raise Exception('Invalid ' + str(module_name) + ': ' + str(identifier)) Exception: Invalid objective: catagorical_crossentropy

What is this error and how to do I resolve this?

Can someone tell me how to fix this issue? Please