This release is a pre-release and may not be stable for production use.
Alchemy CLI
this is the software development kit (SDK) and command line interface (CLI) for alchemy
install
to install this package run
pip install upstride-alchemy
or clone this repository and run
pip install [-e] .
or
python setup.py {install, develop}
SDK
To import the sdk in your project, do a simple
import alchemy
you can now login to alchemy using your credentials and initialize the project :
alchemy.login('your@email', 'yourpassword')
alchemy.init(project_name='project42',
run_name='mobilenet on cifar10',
dataset='cifar10',
model='mobilenet_v3',
tags=['pytorch'])
now you can simply call the log function to send results to the platform
alchemy.log(epochs=1, metrics={'accuracy': 0.8, 'loss': 3.1415, 'whatever metric you want': 0.9})
Command line interface
this repository provides a script to update results from a tensorboard checkpoint : alchemy_cli
One parameter is mandatory : log_file, the path of the tensorboard log file to parse.
The other parameter can be passed using the command line or will be asked by the script to the user
These parameters are:
--user: email to connect to alchemy--password: password to connect to alchemy--step: step between two points to upload--project: Alchemy project to update--run: Alchemy run to update--tags: tags associated with the run (only if new run)--dataset: dataset used in run (only if new run)--model: Neural Network model used in the run (only if new run)--scalar_plots: scalar graph to upload
Every parameter except log_file can be stored in a yaml file, and provided with the yaml_file. An example yaml file can be:
user: your@email
project: my_project
run: my_run
scalar_plots:
- my_metric1
- my_metric2
tags:
- tag1
- tag2
dataset: my_dataset
model: my_model
This script can be run with
alchemy_cli <log_fie> <parameters>
Upload_everything
If your experiments are stored in a way that every event files comes with a corresponding yaml, you can use a dedicated script to upload runs based on a wildcard file pattern
bash upload_everything.sh "*my_pattern*" "my_password"
Metadata
Release files for upstride-alchemy 1.0.0a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| upstride-alchemy-1.0.0a2.tar.gz | 6.6 kB | Without provenance | Details for upstride-alchemy-1.0.0a2.tar.gz |
Release files / upstride-alchemy-1.0.0a2.tar.gz
| Download URL | upstride-alchemy-1.0.0a2.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
155127f75295019da552c281bc6b43d521f4a2d9a0aae19dfc4490b7128a1c51
|
|
BLAKE2b-256 checksum How to use checksums |
f14f3e710aa346272d03193d8ae498421601772004c855c1c2a31f94c91731ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Security for upstride-alchemy 1.0.0a2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.