ChainerUI command manual¶
Server¶
Run the ChainerUI server. To stop, press Ctrl+C on the console:
$ chainerui server
--hostor-H: (optional) set original host name--portor-p: (optional) set original port number, set5000on default--debugor-d: (optional) run server with debug mode
Database¶
Create a ChainerUI database. ChainerUI creates ~/.chainerui/db/chainerui.db by default and the database references the file:
$ chainerui db create
Setup the schema for ChainerUI. The upgrade operation is always necessary when creating a new database or changing the schema on version up:
$ chainerui db upgrade
Drop all records from database. If continuing to use ChainerUI after executing drop, the create and upgrade operations must be executed.:
$ chainerui db drop
Warning
When removing selected projects, don’t use the drop commands. Use Delete button on project list page.
Project¶
ChainerUI manages multiple projects and each project manages multiple training logs. Once a project directory is created, ChainerUI starts to monitor the directory and register log files under the directory. The searching process is run recursively and nested directories are available:
$ chainerui project create -d PROJECT_DIR
-d: (required) target path-n: (optional) name of project. use directory name on default.
Common option¶
--db¶
When use external database, set --db option to use it. For example, when use SQLite with an original database file placed at /path/to/original.db, initialize commands are:
$ chaiherui --db sqlite:////path/to/original.db db upgrade
$ chaiherui --db sqlite:////path/to/original.db server
This --db option is given priority over environment variable CHAINERUI_DB_URL. More detail, see Use external database