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()
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.2.tar.gz
(274.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.2-py3-none-any.whl
(3.7 kB
view details)
File details
Details for the file srspy-0.0.2.tar.gz.
File metadata
- Download URL: srspy-0.0.2.tar.gz
- Upload date:
- Size: 274.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9f4c15aebb1dbcd5054f62f3bee1e4ba4b5aa3e342503a9c67ab8e0ba5089b5
|
|
| MD5 |
7148e140b7fe0caf38ac5d92f9041cf3
|
|
| BLAKE2b-256 |
3e7bfb03103735d96d093d79369996d12b274239e44774770f611a71fb6b9936
|
File details
Details for the file srspy-0.0.2-py3-none-any.whl.
File metadata
- Download URL: srspy-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
555b7b8ac7956e514f1c06b93c98181b2f84a5e9b12574d3a77dba47997c0b21
|
|
| MD5 |
dee672090c6690060065db7fba6f603d
|
|
| BLAKE2b-256 |
a8befa1fdecd2e6fdbe38cbfd40ec99847df02bbd8de3ad6a085046918be581f
|