lightning/pl_examples
Jirka Borovec 22bd742214
fix examples running in DP (#4764)
* add option to step result to do aggregation on a specific device

* in dp: do aggregation on root gpu

* Update CHANGELOG.md

* pep8

* trailing whitespace

* uncomment DP

* more cases

* tmpdir

* test

* note

* move to root


move result


stupid result object


revert to master


undo import


add "to" method to result


generalize to


try a test


try a test


Revert "try a test"

This reverts commit 22e3c1001e6c5774ea18ad925830304c245bf145.

Revert "try a test"

This reverts commit 4d2d8fb2a52d552894809a0cbe51af126d78f070.

new test


max epochs


super epoch end 


log in test


hanging test


undo test


initial test that fails on master


step end


pass


step end


step end


epoch end


print


step


check dev


clean up test


sanity check


wtf is go ing on


frustration


debugging test


test


test


test


test


test


test


test


test


unused import

* dist backend -> accelerator

* remove todo

Co-authored-by: Justus Schock <justus.schock@rwth-aachen.de>
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2020-12-04 23:32:00 +01:00
..
basic_examples fix examples running in DP (#4764) 2020-12-04 23:32:00 +01:00
domain_templates [docs] Added description of saving using ddp (#4660) 2020-12-04 17:59:38 +01:00
pytorch_ecosystem/pytorch_geometric [Example] Add Pytorch Geometric Example (#4568) 2020-11-18 20:03:55 +00:00
README.md Update README.md 2020-09-23 00:21:53 -04:00
__init__.py Update examples - use DataModule (#4740) 2020-11-20 23:40:40 +05:30
bug_report_model.py feature/ Add note about Argparse. (#4321) 2020-11-03 23:40:51 +06:30
test_examples.py fix examples running in DP (#4764) 2020-12-04 23:32:00 +01:00

README.md

Examples

Our most robust examples showing all sorts of implementations can be found in our sister library PyTorch-Lightning-Bolts.


Basic examples

In this folder we add 3 simple examples:


Domain examples

This folder contains older examples. You should instead use the examples in PyTorch-Lightning-Bolts for advanced use cases.