Skip to main content

Monitor and Compare Logs on Terminal.

Project description

logtable

Monitor and Compare Logs on Terminal.


Installation

pip install logtable

Usage

% cd examples
% logtable
 * Config file: .logtable
 * Log directory: logs
╒════╤════════════════════════╤═════════╤═════════════╤════════════╤══════════╤═══════════╤════════════╤═══════╤══════════════╤═══════════════╕
│              log_            epoch    iteration    elapsed_    class_    githash    hostname    lr       main/       validation/  │
│              dir                                     time       ids                                    loss (min)       main/     │
│                                                                                                                      loss (min)   │
╞════╪════════════════════════╪═════════╪═════════════╪════════════╪══════════╪═══════════╪════════════╪═══════╪══════════════╪═══════════════╡
│ 0   20190310_093252.724597     1        1740       1:47:02      [1]      b48ce48   computer1   0.001    0.00879         0.18      │
│                                                                                                        (1, 1580)      (0, 880)    │
├────┼────────────────────────┼─────────┼─────────────┼────────────┼──────────┼───────────┼────────────┼───────┼──────────────┼───────────────┤
│ 1   20190310_093829.691289     1        1720       1:45:37      [1]      f766b97   computer2   0.001     0.0123         0.187     │
│                                                                                                        (1, 1620)      (0, 440)    │
╘════╧════════════════════════╧═════════╧═════════════╧════════════╧══════════╧═══════════╧════════════╧═══════╧══════════════╧═══════════════╛
# examples/.logtable

exclude:
  - out
  - updated_at
  - timestamp
  - loglevel
  - gpu
  - seed
  - 'lr .*'
  - '.*main/loss.*\(max\)'
  - '.*loss_.*'
params_basename: args.json
log_basename: log.json

# below configs are the same as the default
log_dir: logs
include: []
significant_figures: 3
index: null
multi_column: False
key_epoch: epoch
key_iteration: iteration
key_elapsed_time: elapsed_time

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

logtable-0.1.13.tar.gz (6.6 kB view hashes)

Uploaded Source

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