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.4.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.4-py3-none-any.whl
(4.1 kB
view details)
File details
Details for the file srspy-0.0.4.tar.gz.
File metadata
- Download URL: srspy-0.0.4.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 |
5c267b5d60411a7ea1d2918326bad444c2006835d889fd609b381352705cbd92
|
|
| MD5 |
69a3173790295c71861f56b8102f8063
|
|
| BLAKE2b-256 |
792e026238b22a19c9806b6be2729e56567407a1e48f96dc66b27f87a780a567
|
File details
Details for the file srspy-0.0.4-py3-none-any.whl.
File metadata
- Download URL: srspy-0.0.4-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 |
ae4d1dcd10bdf9a92cd6ad795bbe218a0a841f96a88feea5ca1bb1b7102f670a
|
|
| MD5 |
520d8d7bcf859a8b820976e05d71d0d9
|
|
| BLAKE2b-256 |
86f2eae80d02753dfa49a43e247d461717e4d7ceb32e0ca6c08d2f8594756c12
|