A modular YML config file parser and runner.
Project description
Kaizo
YML file config reader and runner
The parser in utils/parser.py makes experiments highly flexible. Each YAML file may contain:
- Direct values: simple scalars (e.g.,
epochs: 10) - Resolvable values: dictionaries specifying
module,source,call,args, and optionallazy - References: re-use values defined earlier in the config (
args.variable_name) - Local modules: custom Python files specified by
localto extend functionality
This design lets you declaratively define entire experiments.
Example Config
Below is the example config file:
node01:
module: trainer.models
source: Trainer
args:
prefix: notebooks
model_type: sde
img_size: 32
in_channels: 1
batch_size: 64
shuffle: True
save_freq: 50
dataset_path: ./notebooks/data
beta_min: 0.1
beta_max: 1
target_transform:
download: True
loader:
module: loaders
source: DatasetLoader
call: False
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kaizo-1.2.0.tar.gz.
File metadata
- Download URL: kaizo-1.2.0.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d12bbd82d73d8b3ffe1d11ea6a853ddb16cca35dfd771087094b74383d1b7d76
|
|
| MD5 |
4dd744deb82649322651b7a978639748
|
|
| BLAKE2b-256 |
774941e133e9d1da009f121140c581b4357172079111143d7915892f077ff8c7
|
Provenance
The following attestation bundles were made for kaizo-1.2.0.tar.gz:
Publisher:
publish.yml on NaughtFound/kaizo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kaizo-1.2.0.tar.gz -
Subject digest:
d12bbd82d73d8b3ffe1d11ea6a853ddb16cca35dfd771087094b74383d1b7d76 - Sigstore transparency entry: 759849368
- Sigstore integration time:
-
Permalink:
NaughtFound/kaizo@d0a870dbc38baca5d93f8186ad88ceeb98ffafcc -
Branch / Tag:
refs/heads/main - Owner: https://github.com/NaughtFound
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d0a870dbc38baca5d93f8186ad88ceeb98ffafcc -
Trigger Event:
pull_request
-
Statement type:
File details
Details for the file kaizo-1.2.0-py3-none-any.whl.
File metadata
- Download URL: kaizo-1.2.0-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ede3c465c78a26bc44fb4e8ba2adc91fcf88f067ce150c687b8555e8ce81caad
|
|
| MD5 |
4513aad97c698dd392268f456716ae43
|
|
| BLAKE2b-256 |
6790e1de12af18bb1bad2e2f20d41eb10b1b3855ad7896407014ba79f8ba209e
|
Provenance
The following attestation bundles were made for kaizo-1.2.0-py3-none-any.whl:
Publisher:
publish.yml on NaughtFound/kaizo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kaizo-1.2.0-py3-none-any.whl -
Subject digest:
ede3c465c78a26bc44fb4e8ba2adc91fcf88f067ce150c687b8555e8ce81caad - Sigstore transparency entry: 759849384
- Sigstore integration time:
-
Permalink:
NaughtFound/kaizo@d0a870dbc38baca5d93f8186ad88ceeb98ffafcc -
Branch / Tag:
refs/heads/main - Owner: https://github.com/NaughtFound
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d0a870dbc38baca5d93f8186ad88ceeb98ffafcc -
Trigger Event:
pull_request
-
Statement type: