@odiak/progress-monitor
v0.0.6
Published
Simple progress monitor for any programs
Downloads
22
Readme
Progress Monitor
This is a simple tool that visualize progress of any program on browser.
Example
How to use
# Install
npm install -g @odiak/progress-monitor
# Execute with pipe
your-program | progress-monitor
# Open printed URL on your browser to see progress
All you need to do is let your program to print JSON in one line on each step of process.
Format of JSON to output is here and here is its example below (they're pretty printed, but actual JSON must be one-line):
{
"variant": "experiment 1",
"metric": "error",
"value": { "test": 0.0321, "train": 0.0188 },
"epoch": 11,
"n_epochs": 400
}
{
"variant": "experiment 1",
"metric": "time",
"value": 0.313,
"epoch": 11,
"n_epochs": 400
}
License
MIT