From b22e5918a9869b6457cb1a4bd8b0e8fbd2323a8f Mon Sep 17 00:00:00 2001 From: Ryan McCormick Date: Fri, 23 Aug 2019 18:24:18 -0700 Subject: [PATCH] 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. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 37cd6366c5..70e128b5c7 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,7 @@ You define the blue parts using the LightningModule interface: ![Ouverview](./docs/source/_static/overview_flat.jpg) -```{.python} +```python # what to do in the training loop 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) Simply note the path you set for the Experiment -``` {.python} +```python from test_tube import Experiment from pytorch-lightning import Trainer