aimhubio/aim
Aim ๐ซ โ An easy-to-use & supercharged open-source experiment tracker.
About aimhubio/aim
aimhubio/aim is an open-source project on GitHub, mainly written in Python. Aim ๐ซ โ An easy-to-use & supercharged open-source experiment tracker. It currently holds 6,258 stars and 413 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).
Project Overview
AI Homed tracks it on the AI Prompt Engineering board.
GitHub Repository Details
README
| Drop a star to support Aim โญ |
Join Aim discord community
|
An easy-to-use & supercharged open-source experiment tracker
Aim logs your training runs and any AI Metadata, enables a beautiful UI to compare, observe them and an API to query them programmatically.
AimStack offers enterprise support that's beyond core Aim. Contact via hello@aimstack.io e-mail.
---
About • Demos • Ecosystem • Quick Start • Examples • Documentation • Community • Blog
---
โน๏ธ About
Aim is an open-source, self-hosted ML experiment tracking tool designed to handle 10,000s of training runs.
Aim provides a performant and beautiful UI for exploring and comparing training runs. Additionally, its SDK enables programmatic access to tracked metadata โ perfect for automations and Jupyter Notebook analysis.
Aim's mission is to democratize AI dev tools ๐ฏ
| Log Metadata Across Your ML Pipeline ๐พ | Visualize & Compare Metadata via UI ๐ |
|---|---|
|
|
| Run ML Trainings Effectively โก | Organize Your Experiments ๐๏ธ |
|
|
๐ฌ Demos
Check out live Aim demos NOW to see it in action.
| Machine translation experiments | lightweight-GAN experiments|
|:---:|:---:|
|
|
|
| Training logs of a neural translation model(from WMT'19 competition). | Training logs of 'lightweight' GAN, proposed in ICLR 2021. |
| FastSpeech 2 experiments| Simple MNIST |
|:---:|:---:|
|
|
|
| Training logs of Microsoft's "FastSpeech 2: Fast and High-Quality End-to-End Text to Speech". | Simple MNIST training logs. |
๐ Ecosystem
Aim is not just an experiment tracker. It's a groundwork for an ecosystem. Check out the two most famous Aim-based tools.
| aimlflow | Aim-spaCy |
|:---:|:---:|
|
|
|
| Exploring MLflow experiments with a powerful UI | an Aim-based spaCy experiment tracker |
๐ Quick start
Follow the steps below to get started with Aim.
1. Install Aim on your training environment
pip3 install aim
2. Integrate Aim with your code
from aim import Run
Initialize a new run
run = Run()
Log run parameters
run["hparams"] = {
"learning_rate": 0.001,
"batch_size": 32,
}
Log metrics
for i in range(10):
run.track(i, name='loss', step=i, context={ "subset":"train" })
run.track(i, name='acc', step=i, context={ "subset":"train" })
_See the full list of supported trackable objects(e.g. images, text, etc) here._
3. Run the training as usual and start Aim UI
aim up
Learn more
Migrate from other tools
Aim has built-in converters to easily migrate logs from other tools. These migrations cover the most common usage scenarios. In case of custom and complex scenarios you can use Aim SDK to implement your own conversion script.
Integrate Aim into an existing project
Aim easily integrates with a wide range of ML frameworks, providing built-in callbacks for most of them.
- Integration with Pytorch Ignite
- Integration with Pytorch Lightning
- Integration with Hugging Face
- Integration with Keras & tf.Keras
- Integration with Keras Tuner
- Integration with XGboost
- Integration with CatBoost
- Integration with LightGBM
- Integration with fastai
- Integration with MXNet
- [Integration with Optuna](https://aimst