Skip to content

Commit 22cddfc

Browse files
committed
tensorboardX.SummaryWriter
1 parent be8db9a commit 22cddfc

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/source-fabric/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@
293293
("py:class", "transformer_engine.*"),
294294
("py:class", "bitsandbytes.*"),
295295
# loggers
296-
('py:class', 'tensorboardX.writer.SummaryWriter'), # todo: this is unexpected as the imports locally works
296+
('py:class', 'tensorboardX.SummaryWriter'), # todo: this is unexpected as the imports locally works
297297
]
298298

299299
# -- Options for todo extension ----------------------------------------------

docs/source-pytorch/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ def _load_py_module(name: str, location: str) -> ModuleType:
377377
# missing in generated API
378378
("py:exc", "MisconfigurationException"),
379379
# TODO: generated list of all existing ATM, need to be fixed
380-
('py:class', 'tensorboardX.writer.SummaryWriter'),
380+
('py:class', 'tensorboardX.SummaryWriter'),
381381
("py:class", "AveragedModel"),
382382
("py:class", "CometExperiment"),
383383
("py:meth", "DataModule.__init__"),

src/lightning/fabric/loggers/tensorboard.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
class TensorBoardLogger(Logger):
4444
r"""Log to local file system in `TensorBoard <https://www.tensorflow.org/tensorboard>`_ format.
4545
46-
Implemented using :class:`~tensorboardX.writer.SummaryWriter`. Logs are saved to
46+
Implemented using :class:`~tensorboardX.SummaryWriter`. Logs are saved to
4747
``os.path.join(root_dir, name, version)``. This is the recommended logger in Lightning Fabric.
4848
4949
Args:
@@ -60,7 +60,7 @@ class TensorBoardLogger(Logger):
6060
sub_dir: Sub-directory to group TensorBoard logs. If a ``sub_dir`` argument is passed
6161
then logs are saved in ``/root_dir/name/version/sub_dir/``. Defaults to ``None`` in which case
6262
logs are saved in ``/root_dir/name/version/``.
63-
\**kwargs: Additional arguments used by :class:`tensorboardX.writer.SummaryWriter` can be passed as keyword
63+
\**kwargs: Additional arguments used by :class:`tensorboardX.SummaryWriter` can be passed as keyword
6464
arguments in this logger. To automatically flush to disk, `max_queue` sets the size
6565
of the queue for pending logs before flushing. `flush_secs` determines how many seconds
6666
elapses before flushing.

src/lightning/pytorch/loggers/tensorboard.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
class TensorBoardLogger(Logger, FabricTensorBoardLogger):
4040
r"""Log to local or remote file system in `TensorBoard <https://www.tensorflow.org/tensorboard>`_ format.
4141
42-
Implemented using :class:`~tensorboardX.writer.SummaryWriter`. Logs are saved to
42+
Implemented using :class:`~tensorboardX.SummaryWriter`. Logs are saved to
4343
``os.path.join(save_dir, name, version)``. This is the default logger in Lightning, it comes
4444
preinstalled.
4545
@@ -74,7 +74,7 @@ class TensorBoardLogger(Logger, FabricTensorBoardLogger):
7474
sub_dir: Sub-directory to group TensorBoard logs. If a sub_dir argument is passed
7575
then logs are saved in ``/save_dir/name/version/sub_dir/``. Defaults to ``None`` in which
7676
logs are saved in ``/save_dir/name/version/``.
77-
\**kwargs: Additional arguments used by :class:`tensorboardX.writer.SummaryWriter` can be passed as keyword
77+
\**kwargs: Additional arguments used by :class:`tensorboardX.SummaryWriter` can be passed as keyword
7878
arguments in this logger. To automatically flush to disk, `max_queue` sets the size
7979
of the queue for pending logs before flushing. `flush_secs` determines how many seconds
8080
elapses before flushing.

0 commit comments

Comments
 (0)