Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
S-aiueo32 committed Mar 6, 2020
1 parent c2fd85b commit 196700a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pytorch_lightning/loggers/trains.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ def __init__(
def experiment(self) -> trains.Task:
r"""Actual TRAINS object. To use TRAINS features do the following.
Example::
self.logger.experiment.some_trains_function()
Example:
.. code-block:: python
self.logger.experiment.some_trains_function()
"""
return self._trains
Expand Down Expand Up @@ -184,7 +184,7 @@ def log_image(
Debug image to log. Can be one of the following types:
Torch, Numpy, PIL image, path to image file (str)
If Numpy or Torch, the image is assume to be the following:
shape: CHW or NCHW
shape: CHW
color space: RGB
value range: [0., 1.] (float) or [0, 255] (uint8)
step (Optional[int], optional):
Expand Down

0 comments on commit 196700a

Please sign in to comment.