Closed jkaewprateep closed 6 years ago
Sorry this project is meant to use CNNs and the CTC loss function. I think stack overflow is a better place to ask your question. e.g. https://stackoverflow.com/questions/40812339/how-to-train-an-lstm-for-speech-recognition
I try to adapt to use this code with LSTM network by changing network to LSTM by duplicate class Wav2LetterModel and change model to LSTM. After train 10,000 samples for 4,000 round decoded value always return blank. Please help.
class Wav2LetterLSTMModel(SpeechModel): #Add Sep 14, 2017 to create LSTM model
def init(self, input_loader: BaseInputLoader, input_size: int, num_classes: int): super().init(input_loader, input_size, num_classes)
def _create_network(self, num_classes):