Experiment_utils
Helper utils for track and manage Dl experimets with pytorch.
Very early stage - just draft for my utils.
Install
pip install experiment-utils
Editeble install: git clone https://github.com/ayasyrev/experiment-utils cd experiment-utils pip install -e .
How to use
Import Experiment:
from experiment_utils.experiment import *
After import you has p (stands for Parameters) and e (Experiment) objects.
Name the experiment, later it will be used in logs.
p.exp_name = 'test1'
p.exp_name
'test1'
e.p.exp_name
'test1'
Load learner
e.get_learner()
e.p.model
functools.partial(<function resnet18 at 0x7fc8d4dd08c0>, num_classes=10)
e.learn.model.fc
Linear(in_features=512, out_features=10, bias=True)
Short notation for learn - l
e.l.model.conv1
Conv2d(3, 64, kernel_size=(7, 7), stride=(2, 2), padding=(3, 3), bias=False)
Now we can easy change some parameter anr start train with pipeline what yuo neg.
from experiment_utils.utils import train_fc, plot
p.pipeline = [train_fc, plot]
p.lr = 0.001
p.epochs = 10
e(repeat_times=2)
Metadata
Release files for experiment-utils 0.0.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 | Provenance | Actions |
|---|---|---|---|---|
| experiment_utils-0.0.3.tar.gz | 14.1 kB | Without provenance | Details for experiment_utils-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| experiment_utils-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for experiment_utils-0.0.3-py3-none-any.whl |
Total release size: 28.0 kB
Release files / experiment_utils-0.0.3.tar.gz
| Download URL | experiment_utils-0.0.3.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7a7c48d3ca5321acd4a2d99b9344b1b3c347c54d5956f0e352f889e56fcf3ec
|
|
BLAKE2b-256 checksum How to use checksums |
3cce669e1d00054362678a6f7ccd7589aa8223afdb442f75897d80f4f997232e
|
| 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/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6
|
Release files / experiment_utils-0.0.3-py3-none-any.whl
| Download URL | experiment_utils-0.0.3-py3-none-any.whl |
|---|---|
| Size | 13.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4974790c96cd0f052414de1f08ede603126bb813e568e02e4ea433904e3a9f98
|
|
BLAKE2b-256 checksum How to use checksums |
5ce2d487d82d1b04e360519f5ac58c5305806e968e0636fcd7aee41ab864d744
|
| 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/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6
|
Security for experiment-utils 0.0.3
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.