Few typo correction (#2011)
This commit is contained in:
parent
fdbbe96825
commit
d8dc0a7228
|
@ -54,7 +54,7 @@ main.py file this way
|
||||||
|
|
||||||
main(args)
|
main(args)
|
||||||
|
|
||||||
So you can run it like so:distributed_backend
|
So you can run it like so:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ and set ``deterministic``` flag in ``Trainer``.
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
from pytorch-lightning import Trainer, seed_everything
|
from pytorch_lightning import Trainer, seed_everything
|
||||||
|
|
||||||
seed_everything(42)
|
seed_everything(42)
|
||||||
# sets seeds for numpy, torch, python.random and PYTHONHASHSEED.
|
# sets seeds for numpy, torch, python.random and PYTHONHASHSEED.
|
||||||
|
|
Loading…
Reference in New Issue