mirror of
https://github.com/clearml/clearml
synced 2025-06-26 18:16:07 +00:00
Improve docstring code-snippet (issue #486)
This commit is contained in:
parent
95f7fb2bd5
commit
a68f832a8a
@ -148,8 +148,12 @@ class Logger(object):
|
|||||||
|
|
||||||
.. code-block:: py
|
.. code-block:: py
|
||||||
|
|
||||||
|
logger = Logger.current_logger()
|
||||||
scalar_series = [random.randint(0,10) for i in range(10)]
|
scalar_series = [random.randint(0,10) for i in range(10)]
|
||||||
logger.report_scalar(title='scalar metrics','series', value=scalar_series[iteration], iteration=0)
|
for iteration in range(10):
|
||||||
|
logger.report_scalar(
|
||||||
|
title='scalar metrics', series='series', value=scalar_series[iteration], iteration=iteration
|
||||||
|
)
|
||||||
|
|
||||||
You can view the scalar plots in the **ClearML Web-App (UI)**, **RESULTS** tab, **SCALARS** sub-tab.
|
You can view the scalar plots in the **ClearML Web-App (UI)**, **RESULTS** tab, **SCALARS** sub-tab.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user