From d8dc0a72288b5409f8a5e4d6d7aa65e98772b2f2 Mon Sep 17 00:00:00 2001 From: Yassine Alouini Date: Sun, 31 May 2020 06:39:56 +0200 Subject: [PATCH] Few typo correction (#2011) --- pytorch_lightning/trainer/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytorch_lightning/trainer/__init__.py b/pytorch_lightning/trainer/__init__.py index 3465d49b..6f1966ba 100644 --- a/pytorch_lightning/trainer/__init__.py +++ b/pytorch_lightning/trainer/__init__.py @@ -54,7 +54,7 @@ main.py file this way main(args) -So you can run it like so:distributed_backend +So you can run it like so: .. code-block:: bash @@ -111,7 +111,7 @@ and set ``deterministic``` flag in ``Trainer``. .. code-block:: python - from pytorch-lightning import Trainer, seed_everything + from pytorch_lightning import Trainer, seed_everything seed_everything(42) # sets seeds for numpy, torch, python.random and PYTHONHASHSEED.