Alchemy. Experiments logging & visualization.
Project description
Project manifest. Part of Catalyst Ecosystem:
- Alchemy - Experiments logging & visualization
- Catalyst - Accelerated Deep Learning Research and Development
- Reaction - Convenient Deep Learning models serving
Installation
Common installation:
pip install -U alchemy
Previous name alchemy-catalyst
Getting started
-
Goto Alchemy and get your personal token.
-
Run following example.py:
import random from alchemy import Logger # insert your personal token here token = "..." project = "default" for gid in range(1): group = f"group_{gid}" for eid in range(2): experiment = f"experiment_{eid}" logger = Logger( token=token, experiment=experiment, group=group, project=project, ) for mid in range(4): metric = f"metric_{mid}" # let's sample some random data n = 300 x = random.randint(-10, 10) for i in range(n): logger.log_scalar(metric, x) x += random.randint(-1, 1) logger.close()
-
Now you should see your metrics on Alchemy.
Catalyst.Ecosystem
-
Goto Alchemy and get your personal token.
-
Log your Catalyst experiment with AlchemyLogger:
from catalyst.dl import SupervisedRunner, AlchemyLogger runner = SupervisedRunner() runner.train( model=model, criterion=criterion, optimizer=optimizer, loaders=loaders, logdir=logdir, num_epochs=num_epochs, verbose=True, callbacks={ "logger": AlchemyLogger( token="...", # your Alchemy token project="your_project_name", experiment="your_experiment_name", group="your_experiment_group_name", ) } )
-
Now you should see your metrics on Alchemy.
Examples
For mode detailed tutorials, please follow Catalyst examples.
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
alchemy-20.5.tar.gz
(6.9 kB
view details)
Built Distribution
File details
Details for the file alchemy-20.5.tar.gz
.
File metadata
- Download URL: alchemy-20.5.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72d7b46613d171106a2666a5c8bb172fdf624efa569bd3c97ab200c449043efc |
|
MD5 | 46bc511840fff5f5a509fb63798a3c8d |
|
BLAKE2b-256 | f1e715a5ebd83aedc0862d28a0c7a23e258c88cfbb56f1b2d1850c7378164f66 |
File details
Details for the file alchemy-20.5-py2.py3-none-any.whl
.
File metadata
- Download URL: alchemy-20.5-py2.py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd471beaca1201dbdded7c5b72652deb6e6e1890fe31de8ebd31b9ad1ed1170c |
|
MD5 | 08c08152a50b3c959c4809df2a7d8ecd |
|
BLAKE2b-256 | 2b5ccd197afb6b93ea3f67a9796437ec6df1102036b644a6fcbc7d27207103d6 |