Data visualization tool based on JSON files.
Project description
jsonboard
Fancy interface for ML experiments based on JSONL log files.
Install
pip install jsonboard
Logging directory
Jsonboard
expected the logging directory to be structured like the following:
main_directory
├── experiment_name_1
│ ├── version_0
│ │ ├── hparams.json
│ │ ├── meta.json
│ │ └── data.jsonl
│ └── version_1
│ ├── hparams.json
│ └── data.jsonl
├── experiment_name_1
│ └── version_0
│ └── data.jsonl
└── ...
Examples
hparams.json
{
"learning_rate": 1e-05,
"batch_size": 32,
"devices": 8,
"accelerator": "gpu",
"num_warmup_steps": 10000,
"max_steps": 100000,
"alpha": 0.5,
"train_filepath": "datasets/wikiqa"
}
meta.json
{
"environment": "google_cloud"
}
data.jsonl
{
"step": 1000,
"values": {
"training/accuracy": 0.9
}
}
{
"step": 2000,
"values": {
"training/accuracy": 0.5
}
}
{
"step": 3000,
"values": {
"training/accuracy": 0.5
}
}
{
"step": 4000,
"values": {
// sometimes values may also be missing
}
}
{
"step": 5000,
"values": {
"training/accuracy": 0.2
}
}
Run the server
jsonboard --input /pth/to/main_directory
Additional parameters
jsonboard --help
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
JsonBoard-0.2.0.tar.gz
(1.6 MB
view details)
Built Distribution
File details
Details for the file JsonBoard-0.2.0.tar.gz
.
File metadata
- Download URL: JsonBoard-0.2.0.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbbb61ef4b42c4855efa8be066f841536e6a419ed58ae8f9910fd1fab68f0799 |
|
MD5 | 1b430d5cb33d06c1f976569075ef03cd |
|
BLAKE2b-256 | b0b8cd6eca26d24c5170e170776c5269b3f933597bbc6051b3bb687d6bc16679 |
File details
Details for the file JsonBoard-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: JsonBoard-0.2.0-py3-none-any.whl
- Upload date:
- Size: 1.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bec19a7e21ce5fde121a695dcea45af23b6465ac3c008c440aa89e4741801e3d |
|
MD5 | 323bca690748d8382752574cdbc281ec |
|
BLAKE2b-256 | 418b8550fe774593b8d3802d16ddb5f2aaf0c5ae5954c7bf7e54add01c7e74a3 |