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 expected the logging directory to be structured like the following:

main_directory
├── experiment_name_1
│   ├── version_0
│   │   └── data.json
│   └── version_1
│       └── data.json 
├── experiment_name_1
│   └── version_0
│       └── data.json
└── ...

And this is a simple example of how data should be stored:

{
    "hparams": {
        "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",
    },
    "metadata": {"environment": "google_cloud"},
    "logs": [
        {
            "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 --path /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.1.1.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

JsonBoard-0.1.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: JsonBoard-0.1.1.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.11

File hashes

Hashes for JsonBoard-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2e5409449872b122beeef2808f1b62d1690a8bf1f08424f9e009e8a58e81bb6a
MD5 3a6ae9ea78225d7608d8cf25ca736c65
BLAKE2b-256 34a823cfe1345364e0d980a5c7a2e5955729832bc5eb8d81c62ed003fdad910e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: JsonBoard-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.11

File hashes

Hashes for JsonBoard-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 167bc20fe146c3ecbf0bee96a406787d0c2da01fdebe1636caf5e1e43d893367
MD5 699a9a91951d126977d37a85cdb1c57c
BLAKE2b-256 9756fdc4330ab63f0a14e6a1f04cc04f471828d52580cfe25cbbe603efd01304

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