A package for simple experiment run tracing.
Project description
srspy
A package for simple research experiment tracing. Python 3.
pip install srspy
For example,
from srspy import RunTrace
# ...
r = RunTrace(name="train_model", data={
"epochs": epochs,
"batch_size": batch_size,
"p": p,
"λ": lamb,
"optimizer": "adam",
"lr": 0.0001,
"gpu": GPU,
"bias": bias,
}, log_dir="./runs")
# ...
for epoch in ...:
# ...
r.flush(data={"epoch_loss": epoch_loss})
# ...
r.close()
# later
l = RunTraceLog(r.log_file_path)
losses, timestamps = l.metric("epoch_loss")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
srspy-0.0.5.tar.gz
(5.9 kB
view details)
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
srspy-0.0.5-py3-none-any.whl
(4.1 kB
view details)
File details
Details for the file srspy-0.0.5.tar.gz.
File metadata
- Download URL: srspy-0.0.5.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d15337f7f2ef80f07f1ec9ff428ffa98e031323ad281e131ed311beb9832c9a5
|
|
| MD5 |
27bb8bb18cd25defc5c2faa3dd96e5a5
|
|
| BLAKE2b-256 |
aa59ccb685b7e26daace92c4ac6d86172bcaa0441c2b997e1302a168ba9d494a
|
File details
Details for the file srspy-0.0.5-py3-none-any.whl.
File metadata
- Download URL: srspy-0.0.5-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48abb4b2a75b4e373e000d13e5cbca6c0273be05d44c4e51bd6572d356e060a3
|
|
| MD5 |
69764d954f9407b1e056183969691b10
|
|
| BLAKE2b-256 |
9df5a66d1ca54e0d93e4d825c925e5570b2411634da58b50e95ea9da24aaa725
|