Part of Catalyst Ecosystem. Project manifest.
Installation
Common installation:
pip install -U 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 AlchemyRunner:
from catalyst.dl import SupervisedAlchemyRunner runner = SupervisedAlchemyRunner() runner.train( model=model, criterion=criterion, optimizer=optimizer, loaders=loaders, logdir=logdir, num_epochs=num_epochs, verbose=True, monitoring_params={ "token": "...", # insert your personal token here "project": "default", "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.
Metadata
Release files for alchemy-catalyst 20.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| alchemy-catalyst-20.3.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| alchemy_catalyst-20.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 14.3 kB
Release files / alchemy-catalyst-20.3.tar.gz
| Download URL | alchemy-catalyst-20.3.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34bc8523ae54740a58037fb9995f83d3acbc862be3fb1381ecabca4dff74b849
|
|
BLAKE2b-256 checksum How to use checksums |
4ca22b84278a3d89bc35f8ce76eb019fc28c49034d56c828df6b70bc0beaf3f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
|
Release files / alchemy_catalyst-20.3-py2.py3-none-any.whl
| Download URL | alchemy_catalyst-20.3-py2.py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
bc74a7fe6b95d8266ecffc17cd2829b329e2466682c81548b04884b97060a79d
|
|
BLAKE2b-256 checksum How to use checksums |
23c38bfb2af4b9e78d52e9feac36e51fd9ad03942b8afeadf1666fc21c48ee87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
|