Open csukuangfj opened 3 years ago
In https://github.com/k2-fsa/snowfall/pull/140, feature dimention is changed from 40 to 80. Replace num_features=40
with num_features=80
in https://github.com/k2-fsa/snowfall/blob/master/egs/librispeech/asr/simple_v1/ctc_att_transformer_train.py#L406 could fix it.
@zhu-han thanks
I think that we should consider a refactoring of snowfall to share more code between the recipes. The number of similar issues will grow exponentially as we start adding new recipes (new corpora or scripts with new training methods).
You are good at refactoring things. Perhaps you could work on that? It doesn't have to be super carefully done, we'll have further rounds of refactoring once we settle on that algorithms we'll be using. Right now we are a bit short-handed here, and I want to focus on reducing the WER (currently, RNNLMs are the main focus).
On Tue, Mar 30, 2021 at 12:07 AM Piotr Żelasko @.***> wrote:
I think that we should consider a refactoring of snowfall to share more code between the recipes. The number of similar issues will grow exponentially as we start adding new recipes (new corpora or scripts with new training methods).
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/k2-fsa/snowfall/issues/142#issuecomment-809510166, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZFLO66P2V57BIYRKVODNDTGCQV5ANCNFSM4Z6RNG4Q .
I’m happy to do it, it’s actually been on my radar for some time now, but my time is also spread a bit thin lately. Anyway, I guess let’s just keep our eyes open for easy wins for now, once I can I’ll look into it more..
See below (using the latest master)