Giter Club home page Giter Club logo

Comments (6)

initdebugs avatar initdebugs commented on May 18, 2024 1

Thank you for the help. I appreciate the work you guys are putting into this.

from ultralytics.

AyushExel avatar AyushExel commented on May 18, 2024

@initdebugs hey, right now the local weights best.pt and last.pt are updated after every epoch and artifacts are logged to supported logging platforms only after training finishes and models are stripped. Do you want a similar logging feature to log checkpoints in order to save progress?
We are working on better online logging support through HUB using which you can resume training from anywhere, even a different system. If your use case is different, please let us know so that we can support it better. thanks!

from ultralytics.

initdebugs avatar initdebugs commented on May 18, 2024

Okay that seems odd. For me it saved a best.pt and a last.pt after the first epoch. After that it hasn't updated those files. It's currently at epoch 78 but hasn't saved it.

from ultralytics.

AyushExel avatar AyushExel commented on May 18, 2024

@initdebugs okay that is not expected. It might be a bug. Can you confirm if the ckpt have not been updated by doing this.

import torch

ckpt = torch.load("last.pt")
print(ckpt["epoch"])

Thanks!

from ultralytics.

initdebugs avatar initdebugs commented on May 18, 2024

It shows the correct epoch when doing that. Does that mean that it does save it? The 'last modified' datetime for the file hasn't changed.

from ultralytics.

AyushExel avatar AyushExel commented on May 18, 2024

@initdebugs yeah it shows the epoch it was saved on. Maybe it's something with how OS's file managers check last changed? But it should not be something to worry about

from ultralytics.

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.