Giter Site home page Giter Site logo

Comments (4)

captainvera avatar captainvera commented on August 20, 2024 1

However, I'll take this chance to clarify some details about model re-training. I believe our documentation is slightly misleading as it is.

There are two ways to continue to train a model: 1 - Resuming and 2 - Loading

Resuming
When you are resuming, you are retrieving the previous state of the trainer. This includes everything related to the training process including, for example, optimizer parameters. The use case for this is things like preemptible servers where your training might stop and you might need to resume from the latest checkpoint. As such, you have to increase your total number of epochs if you want to continue training.

When resuming, Kiwi will first look for the trainer in your output-dir and then in runs/uuid if you don't specify the output-dir. In your case, since you state the output-dir there's no need to state the run-uuid.

Loading
On the other hand, if you just want to load model weights and continue training with new optimizer/trainer parameters you can just pass the load-model flag pointing at the model you'd like to load.

from openkiwi.

captainvera avatar captainvera commented on August 20, 2024

Hello @damyana79

Thanks for reporting this issue! I'll look into this and get back to you soon.

from openkiwi.

captainvera avatar captainvera commented on August 20, 2024

Hey @damyana79

I haven't been able to reproduce your issue with resuming. It seems to be happening because Kiwi cannot load the trainer and model from your previous run.
This means that for some reason it is looking in the wrong place. Would you mind sharing your output.log? This should be stored in the same folder as your model

from openkiwi.

captainvera avatar captainvera commented on August 20, 2024

This behaviour as been clarified and improved with #36.

I will now close this. Feel free to re-open if your problem continues!

from openkiwi.

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.