Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #346 from disktnk/fix/docs-v0.11.0
Browse files Browse the repository at this point in the history
Update docs to v0.11.0
  • Loading branch information
ofk authored Dec 24, 2019
2 parents c7732cc + 5a5e3bf commit fbba24c
Show file tree
Hide file tree
Showing 18 changed files with 32 additions and 14 deletions.
Binary file modified docs/images/chart_edit_line.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/images/chart_save.png
Binary file not shown.
Binary file added docs/images/chart_smoothing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/images/chart_with_y_sample.png
Binary file not shown.
Binary file modified docs/images/global_setting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/home_project_list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/page_flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/project_main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/result_delete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/result_detail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/result_restore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/result_table.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/images/result_table_expand_row.png
Binary file not shown.
Binary file modified docs/images/result_table_expand_row_operation_block.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/result_table_setting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/source/getstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ ChainerUI basically supports the `Trainer module <https://docs.chainer.org/en/st
Training log
~~~~~~~~~~~~

.. image:: ../images/chart_with_y_sample.png
.. image:: ../images/project_main.png

ChainerUI plots training log values read from the ``log`` files and shows the training job. The ``log`` file is a JSON file created by `LogReport <https://docs.chainer.org/en/stable/reference/generated/chainer.training.extensions.LogReport.html>`__ extension or :ref:`chainerui's LogReport <module_log_report>`, which is registered automatically and created under the project path. If ``log`` files are updated, the chart and results table are also updated continuously.

Expand Down
42 changes: 30 additions & 12 deletions docs/source/reference/ui.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ Max log count is the maximum number of logs per result that the ChainerUI server

Result name alignment controls which side of a result name to be truncated when it is too long to be displayed.

**Highlight table and chart**

Enable highlighting linked betwheen a table row and a log chart. ``Enabled`` on default.


.. _ui_home_project_list:

Expand All @@ -62,6 +66,7 @@ Home: Project list

From the list of registered projects, select a project to transition to the project page. When registering a project within running server, refresh the page and it will show the project on the list. See :ref:`getstart_customize_training_loop`.

* ``Desc`` / ``Asc``: select order of project list.
* ``Edit``: edit the project name.
* ``Delete``: delete the project from list.

Expand All @@ -77,15 +82,20 @@ Show training logs and experimental conditions.
* ``epoch``, ``iteration``, ``episode``, ``step`` and ``elapsed_time`` are assumed as x-axis.
* Drop-down list shows only keys existed in ``log`` files.

* Select values by ``yLeftAxis`` and ``yRightAxis`` panes.
* Select values by ``yAxis`` pane.

* Left checkboxes are visibility of left axis, right ones are right axis.
* Line color is selected automatically. To change color, click a job name or a key name, see :ref:`ui_edit_line`.

* Select training job to show on a chart.
* Reset setting button

* Along with axis settings and selected checkboxes, log keys like ``main/loss`` are also cached on browser storage. The reset button restores cached key, too.

* Save log chart

* ``PNG``: Save log chart as PNG
* ``Code``: Download Python script. Run the downloaded script then get a chart image using Matplotlib. Lines plotted or not are followed by configuration on Web UI. The script has all log data as JSON.


.. _ui_highlight:

Expand All @@ -101,13 +111,13 @@ Result table and a log chart are linked each other. A selected result is highlig

.. _ui_save_log_chart:

Save log chart
~~~~~~~~~~~~~~
Smoothing
~~~~~~~~~

.. image:: ../../images/chart_save.png
.. image:: ../../images/chart_smoothing.png
:scale: 50%

* ``PNG``: Save log chart as PNG
* ``Code``: Download Python script. Run the downloaded script then get a chart image using Matplotlib. Lines plotted or not are followed by configuration on Web UI. The script has all log data as JSON.
Add smoothing line to help desplaying the overall of trend. Exponential smoothing is used.

.. _ui_edit_line:

Expand All @@ -116,7 +126,7 @@ Edit a line

.. image:: ../../images/chart_edit_line.png

Show detail information about the line, and enable to change the line color. To show this modal, click a job name or a key name on ``yLeftAxis`` (``yRightAxis``).
Show detail information about the line, and enable to change the line color. To show this modal, click ``Toggle lines setting`` > a job name or a key name on ``yAxis``.


.. _ui_training_job_table:
Expand All @@ -126,17 +136,25 @@ Training job table

.. image:: ../../images/result_table.png

.. figure:: ../../images/result_table_expand_row.png
.. figure:: ../../images/result_table_expand_row_operation_block.png
:width: 50%

expanded the second row to show sub components.

The training job table shows brief log information and experimental conditions. Job names are set to the directory name by default. The name can be edit directly on the table. To unregister a result, click ``Unregister`` button in the expanded row. Expanded row has some operation buttons. These buttons operate similarly to buttons in :ref:`Commands pane <ui_result_page_commands>`.

.. note::
* ``Registered results`` / ``Unregistered results`` : These buttons behavior as tab. When need to show unregistered results, select ``Unregistered result`` tab to show them.
* ``Delete results``: When remove results from the result table, check and click ``Delete result`` button. Deleted resutls are showed on ``Unregistered results`` tab.
* ``Restore results``: When restore deleted result, check the target results on ``Unregistered results`` tab and click ``Restore results`` button. Restored results are showed again on ``Registered results`` tab.

[Known problem] Once a result is unregistered, a result with the same name cannot be restored on the result table. This will be fixed in future.
.. image:: ../../images/result_delete.png
:scale: 40%
.. image:: ../../images/result_restore.png
:scale: 40%

* ``Table Settings``: Customize visibility of table columns
* ``filter name``: Filter results by text.
* ``Grouping``: Group results by grandparent directory.
* ``Table Settings``: Customize visibility and order of table columns.

.. image:: ../../images/result_table_setting.png

Expand Down
2 changes: 1 addition & 1 deletion docs/source/webapi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Start ChainerUI server

Open http://localhost:5000/ . To stop, press ``Ctrl+C`` on the console. When use original host or port, see :ref:`command option <cmd_server>`.

Or, use ChainerUI's docker container to run ChainerUI server, see :ref:`docker start <install_guide_docker>`
Or, use ChainerUI's docker container to run ChainerUI server, see :ref:`docker start <install_guide_docker>`.


Customize training loop
Expand Down

0 comments on commit fbba24c

Please sign in to comment.