Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add usage of Jupyter magic command for loggers #12333

Merged
merged 10 commits into from Mar 29, 2022
6 changes: 6 additions & 0 deletions docs/source/common/loggers.rst
Expand Up @@ -217,6 +217,12 @@ The :class:`~pytorch_lightning.loggers.WandbLogger` is available anywhere except
# Option 2 for specifically logging images
self.logger.log_image(key="generated_images", images=[some_img])

To visualize using wandb in a jupyter notebook environment use the following magic line command
manangoel99 marked this conversation as resolved.
Show resolved Hide resolved
manangoel99 marked this conversation as resolved.
Show resolved Hide resolved

.. code-block:: shell

%%wandb
manangoel99 marked this conversation as resolved.
Show resolved Hide resolved

.. seealso::
- :class:`~pytorch_lightning.loggers.WandbLogger` docs.
- `W&B Documentation <https://docs.wandb.ai/integrations/lightning>`__
Expand Down