Skip to main content

ChainerUI: User Interface for Chainer

Project description

ChainerUI

PyPI Build Status Build status Coverage Status Documentation Status

training_captures

ChainerUI is a visualization and management tool for Chainer.

Installation

To install ChainerUI, use pip.

$ pip install chainerui

To install ChainerUI from source.

$ git clone https://github.com/chainer/chainerui.git
$ cd chainerui/frontend
$ npm install && npm run build && cd ..
$ pip install -e .
  • ChainerUI uses sqlite3 module which is included in the standard Python library. If Python is built from source, sqlite3 must be installed before building Python.
    • On Ubuntu, "libsqlite3-dev" must be installed before building Python ($ apt-get install libsqlite3-dev).
    • On Windows, install Visual C++ Build Tools with the Default Install setting before building Python.

Usage

  1. output log file with LogReport extension, see examples/log-file/train_mnist.py
  2. output log file manually, see examples/log-file/train_mnist_custom_loop.py
  3. post training logs via web API, see examples/web-api/train_mnist.py

Quick start

Initialize ChainerUI database.

$ chainerui db create
$ chainerui db upgrade

Clone examples of train log and create a project.

$ git clone https://github.com/chainer/chainerui.git
$ cd chainerui

$ # create example project
$ chainerui project create -d examples/log-file -n example-project

$ # run ChainerUI server
$ chainerui server

Open http://localhost:5000/ and select "example-project", then shown a chart of training logs.

For more detailed usage, see getting started

Docker start

Get Docker container from DockerHub and start ChainerUI server. The container has installed ChainerUI module, setup a DB and a command to start the server.

$ # replace tag to the latest version number
$ docker pull chainer/chainerui:latest
$ docker run -d -p 5000:5000 --name chainerui chainer/chainerui:latest
$ # then ChainerUI server is running

Open http://localhost:5000/, shown empty project list. examples/web-api/train_mnist.py is an example to setup project and send logs via web API.

For more detailed usage, see getting started or web API

Browser compatibility

ChainerUI is supported by the latest stable version of the following browsers.

  • Firefox
  • Chrome

License

MIT License (see LICENSE file).

Contribution

Any contribution to ChainerUI is welcome!

Run tests

Install "pytest" package and run test

$ pytest

Build client side JS

$ cd frontend
$ npm install
$ npm run build:watch

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

chainerui-0.11.0.tar.gz (1.8 MB view details)

Uploaded Source

File details

Details for the file chainerui-0.11.0.tar.gz.

File metadata

  • Download URL: chainerui-0.11.0.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.1

File hashes

Hashes for chainerui-0.11.0.tar.gz
Algorithm Hash digest
SHA256 c485b2867a82c8c6666e06c02b89bc5b1a553fc06a9af93f694c5b2f95695983
MD5 8159c5085c181de85e597fb2af9f46c4
BLAKE2b-256 86158da03a10142ade393eb16aa1b7d102790be44836e286aa6dfe93fe756fb5

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