Skip to main content

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 expects 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

Some field may even be null, the corresponding points will not be plotted.

{ "step": 1000, "training/accuracy": 0.9 }
{ "step": 2000, "training/accuracy": 0.7 }
{ "step": 3000, "training/accuracy": 0.6 }
{ "step": 4000, "training/accuracy": 0.4 }
{ "step": 5000, "training/accuracy": 0.3 }
{ "step": 6000, "training/accuracy": 0.1 }
{ "step": 7000, "training/accuracy": null }
{ "step": 7000 }

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.1.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

JsonBoard-0.2.1-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file JsonBoard-0.2.1.tar.gz.

File metadata

  • Download URL: JsonBoard-0.2.1.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

Hashes for JsonBoard-0.2.1.tar.gz
Algorithm Hash digest
SHA256 ec242f1c9fea2c467f0093021f076fd548209c715c128025262ffd8d9a0c616a
MD5 c18aef6c6d4c786aad6edc54ac4c27d5
BLAKE2b-256 cbd58bbee40fd4a9e003e44852323ddd4e8ddf708c05926e5841b0f6607ef4bc

See more details on using hashes here.

File details

Details for the file JsonBoard-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: JsonBoard-0.2.1-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

Hashes for JsonBoard-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a35187904d6dd8d1a7ca0e7ef455f44940d8dc84ce04bbfa7a118aae2e7979a
MD5 86d632e00ea23109d4b5c10f6e1d4bff
BLAKE2b-256 db596f1ba4b597bea6cee1aa622bbad078c52494899b681e6d72269951b8cac2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page