Code Monkey home page Code Monkey logo

Comments (3)

ttaoREtw avatar ttaoREtw commented on June 15, 2024 1

Yes, I think you can modify it as follows

if self.step % self.config['solver']['checkpoint_interval'] == 0 and local_step != 0:
  self.save_ckpt()   
  # For monitoring the training process with the tensorboard
  with torch.no_grad():
    self.validate()
    

I will check that later. Thanks for posting this issue.

from tacotron-pytorch.

ttaoREtw avatar ttaoREtw commented on June 15, 2024

In my case, the last saved checkpoint is in step 138k.
I suggest you save the model every 10k steps and run validation for all previously saved models.
Do you change the hyperparameters in config.yaml?

from tacotron-pytorch.

Tywors avatar Tywors commented on June 15, 2024

No, i don't change config.yaml -> checkpoint_interval: 2000
but not save every 10K for solver.py:

if val_err < self.best_val_err:
# Save checkpoint
self.save_ckpt()
self.best_val_err = val_err

Should I comment on that condition?

Thanks!

from tacotron-pytorch.

Related Issues (9)

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.