lightning/pl_examples/README.md

20 lines
1.0 KiB
Markdown
Raw Normal View History

# Examples
Our most robust examples showing all sorts of implementations
2021-04-13 18:49:48 +00:00
can be found in our sister library [lightning-bolts](https://lightning-bolts.readthedocs.io/en/latest/convolutional.html#gpt-2).
---
## Basic examples
In this folder we add 3 simple examples:
* [MNIST Classifier](https://github.com/PyTorchLightning/pytorch-lightning/blob/master/pl_examples/basic_examples/simple_image_classifier.py) (defines the model inside the `LightningModule`).
* [Image Classifier](https://github.com/PyTorchLightning/pytorch-lightning/blob/master/pl_examples/basic_examples/backbone_image_classifier.py) (trains arbitrary datasets with arbitrary backbones).
* [Autoencoder](https://github.com/PyTorchLightning/pytorch-lightning/blob/master/pl_examples/basic_examples/autoencoder.py) (shows how the `LightningModule` can be used as a system)
---
## Domain examples
This folder contains older examples. You should instead use the examples
2021-04-13 18:49:48 +00:00
in [lightning-bolts](https://lightning-bolts.readthedocs.io/en/latest/convolutional.html#gpt-2)
for advanced use cases.