fix python syntax in code blocks to be consistent (#166)
A couple code blocks used "{.python}" instead of just "python" for the syntax highlighting, which doesn't render properly in GitHub markdown.
This commit is contained in:
parent
4104a0fc47
commit
b22e5918a9
|
@ -166,7 +166,7 @@ You define the blue parts using the LightningModule interface:
|
||||||
|
|
||||||
![Ouverview](./docs/source/_static/overview_flat.jpg)
|
![Ouverview](./docs/source/_static/overview_flat.jpg)
|
||||||
|
|
||||||
```{.python}
|
```python
|
||||||
# what to do in the training loop
|
# what to do in the training loop
|
||||||
def training_step(self, data_batch, batch_nb):
|
def training_step(self, data_batch, batch_nb):
|
||||||
|
|
||||||
|
@ -253,7 +253,7 @@ Lightning also adds a text column with all the hyperparameters for this experime
|
||||||
![tensorboard-support](./docs/source/_static/tf_tags.png)
|
![tensorboard-support](./docs/source/_static/tf_tags.png)
|
||||||
|
|
||||||
Simply note the path you set for the Experiment
|
Simply note the path you set for the Experiment
|
||||||
``` {.python}
|
```python
|
||||||
from test_tube import Experiment
|
from test_tube import Experiment
|
||||||
from pytorch-lightning import Trainer
|
from pytorch-lightning import Trainer
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue