Coder Social home page Coder Social logo

Progress bar for training about clearml HOT 1 OPEN

allegroai avatar allegroai commented on September 28, 2024 1
Progress bar for training

from clearml.

Comments (1)

bmartinn avatar bmartinn commented on September 28, 2024

@israelwei thanks for the suggestion, I guess the problem is how will trains know what the target epochs/batch/steps are?

That said, I can offer here a quick hack:

Assuming you are training for args.epoch epochs and each one is of args.epoch_size mini-batches.
Now, consider a for-loop with i as the increasing counter of batches (iterations/steps), we could do:

from trains import Logger

Logger.current_logger().report_scalar(title="progress", series="progress", iteration=i, value=round(100.0*i/(args.epoch_size*args.epoch), 1))

Now we have a graph of our progress (i.e. a number between 0 to 100, that represents our progress).

In order to view it in the experiment table we can add a custom column based on the metric we just added 'progress.progress'

Details and screenshots on custom columns can be found here

from clearml.

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.