![](https://user-images.githubusercontent.com/13848158/97081166-8f568800-1611-11eb-991c-e9bc1344074e.png)
A super-easy way to record, search and compare AI experiments.
![](https://user-images.githubusercontent.com/13848158/100350405-45dbcd00-3003-11eb-8fde-2f7b1822271b.png)
This project hosts the Aim UI code. Please file issues at Aim primary repo.
PLAY with live demo and check out a short INTRO VIDEO
![](https://user-images.githubusercontent.com/13848158/100094828-0b432a80-2e73-11eb-808a-56cf4cdf32ef.png)
![](https://user-images.githubusercontent.com/13848158/96861310-f7239c00-1474-11eb-82a4-4fa6eb2c6bb1.jpg)
![](https://user-images.githubusercontent.com/13848158/97086626-8b3c6180-1635-11eb-9e90-f215b898e298.png)
![](https://user-images.githubusercontent.com/13848158/96859323-6ba90b80-1472-11eb-9a6e-c60a90f11396.jpg)
![](https://user-images.githubusercontent.com/13848158/96861315-f854c900-1474-11eb-8e9d-c7a07cda8445.jpg)
1. Install Aim in your training environment
$ pip install aim
2. Integrate Aim with your code
Flexible integration for any Python script
import aim
# Save inputs, hparams or any other `key: value` pairs
aim.set_params(hyperparam_dict, name='hparams') # Passing name argument is optional
...
for step in range(10):
# Log metrics to visualize performance
aim.track(metric_value, name='metric_name', epoch=epoch_number)
...
See documentation here.
PyTorch Lightning integration
from aim.pytorch_lightning import AimLogger
...
trainer = pl.Trainer(logger=AimLogger(experiment='experiment_name'))
...
See documentation here.
Keras & tf.keras integrations
import aim
# Save inputs, hparams or any other `key: value` pairs
aim.set_params(param_dict, name='params_name') # Passing name argument is optional
...
model.fit(x_train, y_train, epochs=epochs, callbacks=[
aim.keras.AimCallback(aim.Session(experiment='experiment_name'))
# Use aim.tensorflow.AimCallback in case of tf.keras
aim.tensorflow.AimCallback(aim.Session(experiment='experiment_name'))
])
...
See documentation here.
3. Run the training like you are used to and start Aim UI
$ aim up
See the docs at Aim.