Giter VIP home page Giter VIP logo

Comments (6)

pvoigtlaender avatar pvoigtlaender commented on July 17, 2024

Hi,

this is most probably a problem with the number of labels. Does your dataset use a different number of labels/characters? Please check if this is correct in the config.

from returnn.

sharmaannapurna avatar sharmaannapurna commented on July 17, 2024

Thanks..That worked. Also I want to ask if we can train only a few layers from the original model(transfer learning)?

from returnn.

pvoigtlaender avatar pvoigtlaender commented on July 17, 2024

There is a parameter which you can add in the layer definition in json, I think you have to set "trainable": false for the layers which should not be updated.
Please have a try, and maybe check the code for some details.
If it doesn't work, feel free to post again here.

from returnn.

sharmaannapurna avatar sharmaannapurna commented on July 17, 2024

Hi, Thank you for the reply. I dont understand following parameters that are used in config_real:

  • "max_seqs": 10,
  • "nadam": 1,
  • "reinit": 0,
  • "log_verbosity": 5,

Further, If training is interrupted at some step, how can i continue from the previous saved model? can i do it with task = forward or else?

from returnn.

pvoigtlaender avatar pvoigtlaender commented on July 17, 2024

Hi,

max_seqs is an upper bound on the number of sequences (i.e. images in your case), which are processed together in one mini-batch
nadam: 1 means, that Adam with Nesterov momentum is used as the optimizer
reinit: 0 there I'm not sure what exactly it does, better just leave it like this
log_verbosity: 5 controls how many messages are printed to the log. 5 is the highest verbosity, so everything will be printed. You can reduce it if you want less output

I think the default behaviour should be to continue the training if a previous model is available

from returnn.

sharmaannapurna avatar sharmaannapurna commented on July 17, 2024

Thank you very much for the prompt reply.

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.