Giter VIP home page Giter VIP logo

Comments (10)

pvoigtlaender avatar pvoigtlaender commented on July 17, 2024

Hi,

first you should determine if it's a problem of overfitting or underfitting. You can use the same data for training and validation to see if the error rate on the training set goes towards 0. If this happens, then you have overfitting, which probably means that your trainset is too small. If you don't even fit the training data well, then something is broken. In this case, maybe try to use the normal split of the dataset and the provided config file and see if you can reach a good result.

from returnn.

rogerzico avatar rogerzico commented on July 17, 2024

@pvoigtlaender
Thanks! I will try that.
What about LEARNING rates?
Any justification for using 0.0005, 0.0003, 0.0001 ?
I see there is code that calculates error rates from epoch!
Thanks again for help out!

from returnn.

pvoigtlaender avatar pvoigtlaender commented on July 17, 2024

I think you are talking about learning rates, not error rates, right? We determined them empirically, so basically trial and error. For a different setup it might be useful to adapt it.

from returnn.

rogerzico avatar rogerzico commented on July 17, 2024

Sure, how long does it take your research group to train the entire IAM dataset (with config_real) ?
And roughly how many epochs?
Is gtx 1080 ti + i7 machine up to the task?

from returnn.

pvoigtlaender avatar pvoigtlaender commented on July 17, 2024

GTX 1080 TI + i7 is definitely enough! I don't remember the exact values anymore, but I think we trained for ~80 epochs and 1 epoch might take around half an hour (very roughly).

from returnn.

rogerzico avatar rogerzico commented on July 17, 2024

Thanks!
Great Help!

from returnn.

rogerzico avatar rogerzico commented on July 17, 2024

If for some reason, I had to interrupt the training, I could always continue training from where I stopped by setting the "start_epoch" parameter in the configure file to "last saved epoch +1".
This should have no effect on the whole training result, right!
I hope not!
Thanks!

from returnn.

pvoigtlaender avatar pvoigtlaender commented on July 17, 2024

I think you can just rerun without any changes to the config and RETURNN will load the most recent model.

from returnn.

rogerzico avatar rogerzico commented on July 17, 2024

Got it!

from returnn.

albertz avatar albertz commented on July 17, 2024

Not sure that this is about a bug in Returnn, so closing.

from returnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.