Update README.md
This commit is contained in:
parent
ded703fb4d
commit
dc17445c77
|
@ -8,7 +8,7 @@ To use lightning do 2 things:
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
### Define the trainer
|
#### Define the trainer
|
||||||
|
|
||||||
```python
|
```python
|
||||||
# trainer.py
|
# trainer.py
|
||||||
|
@ -60,7 +60,7 @@ model = My_Model()
|
||||||
trainer.fit(model)
|
trainer.fit(model)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Define the model
|
#### Define the model
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import torch.nn as nn
|
import torch.nn as nn
|
||||||
|
|
Loading…
Reference in New Issue