question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Transferring to train set was not going well

See original GitHub issue

Hi there,

I have been using your code to experiment on features extracted using a custom visual front. The pretraining was not bad, and on the validation set the WER reached about 83.1% while the CER was 36.3% after the curriculum learning. (1,2,3,5,7,9,13,17,21,29,37). Step: 199 || Tr.Loss: 0.428430 Val.Loss: 2.574524 || Tr.CER: 0.109 Val.CER: 0.525 || Tr.WER: 0.363 Val.WER: 0.831 (The step size was set 200 because I just wanted a quick try.)

However, the training phase was not so good, and it seems the pretrained model was not working because the train CER started from 95.5%.

Train_Val_Loss Train_Val_Loss Train_Val_WER Train_Val_WER  Train_Val_CER  Train_Val_CER

As you can see, the val CER reached about 50% at last while the WER remains 109.5%… In your experiment, how did the CER/WER change when transferring to the training phase ? It will be really helpful if you can give me some advice.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lordmartiancommented, Jul 9, 2021

Thanks for the update.

I do not have any exact answer for why is this happening or how to solve it as I hadn’t faced such issue. From the graphs, it looks like the model is overfitting during the training phase. I will think about it but I am not sure I will find any exact solution. For now, you can try to finetune the hyperparameters to avoid the model from overfitting. By the way, are there any changes in the code or dataset that may be impacting the training?

Also, you need not rerun the pretraining phase every time as the WER after pretraining is close to what is expected. Just need to experiment with the training phase.

Regarding CER values, I do not have that data anymore.

1reaction
amadeusuzxcommented, Jul 3, 2021

Certainly! I’ll report here if there are any updates.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fixing Model Trains That Won't Run - The Spruce Crafts
Make sure nothing is loose, and the wires don't touch. Make sure the wires are connected to the terminals for the track and...
Read more >
3 Things That Can Go Wrong With Your Model Train, and How ...
2. The Train Won't Stay on the Track. Occasional or frequent train derailment can be caused either by the train or the track....
Read more >
7 Tips That Will Make Your Model Railway Train Run Smoothly
To do this take a loco and give it a test run around all sections of the track — try not to get...
Read more >
What should I do when my neural network doesn't learn?
... neurons' activations as the network trains. It is not well-understood why this helps training, and remains an active area of research.
Read more >
10 Mistakes to Avoid on Your First Long Train Ride, According ...
To ensure your trip doesn't go off the rails, experts share the top ... Many trains do have power outlets at every seat,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found