Monitor and Compare Logs on Browser.
Project description
logboard
Monitor and Compare Logs on Browser/Terminal.
Description
Inspired by tensorboard, grip and notable, all of which serve light-weight GUI by
- only using static files (e.g., markdown files without DB);
- single command (e.g.,
tensorboard --logdir logs/
andgrip README.md
).
Why not tensorboard
?
I also use tensorboard
in addition to this tool.
But currently tensorboard
doesn't support comparing different configurations
for each log (e.g., git-hash of the code, learning rate, training strategy).
logboard
is a kind of extra plugin to tensorboard
(but you need to run in different terminal, unfortunately).
I expect this kind of feature will be included in tensorboard
in the future.
Installation
pip install logboard
Usage
Browser (logboard --logdir logs/
)
$ cd examples
$ cat logs/20190310_093252.724597/args
{
"loglevel": "info",
"gpu": 0,
"seed": 0,
"class_ids": [
1
],
"lr": 0.001,
"timestamp": "2019-03-10T09:32:52.724597",
"out": "/home/wkentaro/logboard/examples/logs/20190310_093252.724597",
"hostname": "computer1",
"githash": "b48ce48"
}
# similar to tensorboard --logdir logs/
$ logboard --logdir logs/ --filter out timestamp loglevel gpu seed 'lr .*' '.*main/loss.*(max)' '.*loss_.*'
Terminal (logtable --logdir logs/
)
$ cd examples
$ logtable --logdir logs --filter out timestamp loglevel gpu seed 'lr .*' '.*main/loss.*(max)' '.*loss_.*'
* Log directory: logs
╒════╤════════════════════════╤═════════╤═════════════╤════════════════╤═══════════════════╤═════════════╤═══════════╤════════════╤═══════╤══════════════╤═══════════════╕
│ │ log_dir │ epoch │ iteration │ elapsed_time │ updated_at │ class_ids │ githash │ hostname │ lr │ main/ │ validation/ │
│ │ │ │ │ │ │ │ │ │ │ loss (min) │ main/ │
│ │ │ │ │ │ │ │ │ │ │ │ loss (min) │
╞════╪════════════════════════╪═════════╪═════════════╪════════════════╪═══════════════════╪═════════════╪═══════════╪════════════╪═══════╪══════════════╪═══════════════╡
│ 0 │ 20190310_093252.724597 │ 1 │ 1740 │ 1:47:02 │ 88 days, 14:24:22 │ [1] │ b48ce48 │ computer1 │ 0.001 │ 0.0088 │ 0.18 │
│ │ │ │ │ │ │ │ │ │ │ (1, 1580) │ (0, 880) │
├────┼────────────────────────┼─────────┼─────────────┼────────────────┼───────────────────┼─────────────┼───────────┼────────────┼───────┼──────────────┼───────────────┤
│ 1 │ 20190310_093829.691289 │ 1 │ 1720 │ 1:45:37 │ 88 days, 14:24:22 │ [1] │ f766b97 │ computer2 │ 0.001 │ 0.012 │ 0.19 │
│ │ │ │ │ │ │ │ │ │ │ (1, 1620) │ (0, 440) │
╘════╧════════════════════════╧═════════╧═════════════╧════════════════╧═══════════════════╧═════════════╧═══════════╧════════════╧═══════╧══════════════╧═══════════════╛
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
logboard-0.5.11.tar.gz
(10.6 kB
view details)
File details
Details for the file logboard-0.5.11.tar.gz
.
File metadata
- Download URL: logboard-0.5.11.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5e17a62fa7459626b4bdf69913a63264d9972603abc99b80b1a5d882e751f42 |
|
MD5 | dc0e26231d278db642283bf585cb4ef2 |
|
BLAKE2b-256 | 0069f8598920b304a3bbbfb5ca4d70640109e69b14f414fa8e437d13bf21b959 |