Skip to main content

Organize Machine Learning Experiments

Project description

https://badge.fury.io/py/labml.svg https://pepy.tech/badge/labml

LabML

LabML lets you monitor AI model training on mobile phones.

Mobile view

You just need to create an experiment, and save stats with tracker. You can obtain a token from LabML App (Githup repo).

from labml import tracker, experiment

with experiment.record(name='sample', exp_conf=conf, web_api: 'TOKEN from web.lab-ml.com'):
    for i in range(50):
        loss, accuracy = train()
        tracker.save(i, {'loss': loss, 'accuracy': accuracy})

It automatically pushes data to Tensorboard, and you can keep your old experiments organized with the LabML Dashboard

Dashboard Screenshot

All these software is open source, and your logs will be stored locally for Tensorboard and LabML Dashboard. You will only be sending data away for LabML App if you include a token url. This can also be locally installed.

LabML can also do a bunch of other things like keeping track of git commits, handling configurations, hyper-parameters, saving and loading checkpoints, and providing pretty logs.

Logger output

Installation

pip install labml

Citing LabML

If you use LabML for academic research, please cite the library using the following BibTeX entry.

@misc{labml,
 author = {Varuna Jayasiri, Nipun Wijerathne},
 title = {LabML: A library to organize machine learning experiments},
 year = {2020},
 url = {https://lab-ml.com/},
}

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

labml-0.4.34.tar.gz (53.1 kB view hashes)

Uploaded Source

Built Distribution

labml-0.4.34-py3-none-any.whl (80.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page