Comments (10)
The first epochs in LibriSpeech are very short. Train a bit longer, until epoch 20 or 30. It is ok if the initial loss (score) is high. It only matter whether it goes down after a while of training.
from returnn-experiments.
Thanks for the quick reply. The training is currently going on. Could you also please have a look at the config file I am using and suggest if I am going in the right direction as the training takes a long time and if the config file is wrong it will result in a lot of time wastage for me?
https://gist.github.com/smdshakeelhassan/da72c8d091983075f05d1f4575a8cfde
Will adding a lstm_pool layer help in this case?
from returnn-experiments.
You should leave the pool layers in, and similar as in the original config, i.e. fix the pool sizes.
from returnn-experiments.
Hi, I have added the pool layer and made some changes to the custom_construction_algo function. Could you please have a look at the config file and verify?
https://gist.github.com/smdshakeelhassan/900afc7a4c1eea63f36e3570d0fa6357
Thanks.
from returnn-experiments.
I don't see the difference to the original config custom_construction_algo
. Maybe you can show a diff, or just describe what you changed?
But anyway, you should just try. I guess you need some tuning here. See also my comments in #41 which is very related to your question.
from returnn-experiments.
Thanks for your help.
Changes I made are:
In the network, instead of:
"lstm0_pool": {"class": "pool", "mode": "max", "padding": "same", "pool_size": (2,), "from": ["lstm0_fw","lstm0_bw"], "trainable": False},
Using
lstm0_pool": {"class": "pool", "mode": "max", "padding": "same", "pool_size": (2,), "from": ["lstm0_fw"], "trainable": False},
and just removed line related to lstmi_bw
from custom_construction_algo
I will try tuning the parameters as you suggested in #41
from returnn-experiments.
Yes, looks good. Just try it. Or then tune it.
from returnn-experiments.
Thank you.
from returnn-experiments.
Can you maybe report your results? Does it work? What changes did you need exactly? What is the WER you get in the end?
from returnn-experiments.
I am still trying to tune the hyperparameters. Decreasing learning rate and increasing repetition steps are showing promising results. Will update if the model converges.
from returnn-experiments.
Related Issues (20)
- local attention with unidirectional lstm not converging HOT 5
- Loading a saved Returnn model from its .meta file HOT 16
- query regarding LM data preprocessing HOT 2
- Reusing parameters inside rec layer HOT 5
- Training Configuration for TEDLIUMv2 HOT 3
- specAugment policy and schedules HOT 3
- Question about 2020-rnn-transducer HOT 16
- 2018-asr-attention/librispeech/attention/exp3.ctc.lm.config: target 'bpe' unknown HOT 3
- Question about 2018-asr-librispeech dev = get_dataset("dev", subset=3000) HOT 2
- loss nan and cost nan while running my own corpus using librispeech sets HOT 10
- Hierarchical layer name not captured correctly
- Problem with retrieving source layer from a hierarchical definition
- Multi Stage Training
- Questions on librispeech transformer lm HOT 10
- Transducer error in GetFilteredScoreOp HOT 4
- Big files in repo HOT 5
- Git commit/push rule to not allow big files HOT 3
- Could you please provide a script that could run lsh-attention for translation? HOT 4
- Assert Error when running 2022-lsh-attention HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from returnn-experiments.