Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"None values not supported" in a standard LSTM network (DeepSpeech) #63

Open
RomainParracone opened this issue Aug 29, 2020 · 0 comments

Comments

@RomainParracone
Copy link

Hello,

I am trying to use DeepExplain on DeepSpeech and I ran into the "None values not supported" error even though I am using input and target tensors that are part of a standard LSTM network. Is there any common pitfall I might have fallen into?

To give you a bit more context, DeepSpeech performs Speech to Text transcription and its architecture is split in 3 main parts:

  • A feature extraction part (MFCC) that computes features used as input for the Neural Network
  • A LSTM NN that outputs a character per time frame
  • A language models that transforms the previous output in a well formed text

Some details are provided here: https://deepspeech.readthedocs.io/en/v0.6.1/DeepSpeech.html

In my case I am working on the second part only, trying to compute attributions with target_tensor = NN output (softmax) and input_tensor = NN input (MFCC features). I am pretty sure that my target and input tensors are connected in the backpropagation and that I am not making the error mentioned in the "NLP / Embedding lookups" section of the readme.

Is there a known reason for this error to happen in this case? Could it be caused by the network architecture (LSTM) or the fact that the network has two input tensors?

Thank you and best,
Romain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant