Commit Graph

3242 Commits

Author SHA1 Message Date
s-rog 49767e424f
fix on_fit_start (#3616)
* init

* fix call_hook args
2020-09-23 10:38:33 +02:00
William Falcon 12184854f9
Update README.md 2020-09-23 00:21:53 -04:00
William Falcon 031274c25d
fix dp issues + update examples and test examples (#3618)
* fix dp

* fix dp

* fix dp

* fix dp

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples
2020-09-23 00:19:46 -04:00
Jirka Borovec 37a59be21b
build more docker configs (#3533)
* update build cases

* list

* matrix

* matrix

* builds

* docker

* -j1

* -q

* -q

* sep

* docker

* docker

* mergify

* -j1

* -j1

* horovod

* copy
2020-09-23 01:41:35 +02:00
William Falcon c591013708
enable any logged metric to be accessible in callbacks (#3598)
* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* clarify forward

* clarify forward

* clarify forward

* clarify forward
2020-09-22 18:00:23 -04:00
Adrian Wälchli d2a3d6aa8e
update ambiguous info (#3613) 2020-09-22 16:57:01 -04:00
edenlightning b4c553b9e6
update readme with new notebooks (#3608) 2020-09-22 20:27:52 +02:00
William Falcon f53e739637
clarify forward (#3611)
* clarify forward

* clarify forward

* clarify forward

* clarify forward
2020-09-22 14:00:02 -04:00
William Falcon 2a10cfaf3d
clarify forward (#3609)
* clarify forward

* clarify forward
2020-09-22 13:37:11 -04:00
Nathan Raw ba01ec9dbf
Edited using Colaboratory (#3601) 2020-09-22 13:15:25 -04:00
Adrian Wälchli 0b222fc6cf
fix warning (#3538) 2020-09-22 09:46:00 -04:00
Aditya Oke 96ccde9d7a
Small documentation fix (#3589)
* fixes resnet

* Fixes formatting and resnet
2020-09-22 09:45:01 -04:00
Nicki Skafte 88e6b29bba
faster tests (#3604) 2020-09-22 07:37:34 -04:00
edenlightning 02ce7e86a6
Docs- update lightning 2 steps guide (#3602)
* new-project

* Update new-project.rst

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-09-22 06:00:54 -04:00
ananthsub d68e1bcc63
Add torch log API usage for lightning module instantiation (#3603)
* Split out changes from #3563 to make that PR easier to review. This formats the file according to the Black formatter

* support checkpoint hooks for datamodule

refactor on_{save/load}_checkpoint to a separate hook class that both the lightning module and data module inherit
add spots in callback connector to call new datamodule hooks if available

* hooks formatting

* Update hooks.py

* Update hooks.py

* Update checkpoint_connector.py

* Update lightning.py

* update based on upstream/master

checkout upstream/master

* Update lightning.py

* Update lightning.py

Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-09-22 05:05:33 -04:00
Carlos Mocholí 1223cdbaa1
Add missing line. Add a test (#3594) 2020-09-21 22:17:51 -04:00
Carlos Mocholí 402b5fc346
Update gitignore (#3595)
* Update gitignore

* Update .gitignore

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-09-21 22:14:39 -04:00
Nathan Raw f9cc8cb7fb
fix notebooks/README.md colab links (#3599) 2020-09-21 22:05:33 -04:00
Nathan Raw 6685b49db3
add lightning colab tutorial notebooks (#3591)
*  add lightning colab tutorial notebooks

* Update notebooks/01-mnist-hello-world.ipynb

* Update notebooks/03-basic-gan.ipynb

* Update notebooks/04-transformers-text-classification.ipynb

* Update notebooks/02-datamodules.ipynb

* add jupytext

* 🐛 comment ipynb related things in conf.py

* 🔥 remove .py files

Co-authored-by: Jirka Borovec <jirka@pytorchlightning.ai>
2020-09-21 19:31:59 -06:00
William Falcon 674d33061f
Update README.md 2020-09-21 17:06:40 -04:00
William Falcon 3bfd2edb08
Update README.md 2020-09-21 17:04:05 -04:00
William Falcon 8238f687c6
Update README.md 2020-09-21 16:45:25 -04:00
William Falcon 3cfa448e88
Update README.md 2020-09-21 16:44:44 -04:00
William Falcon 6aad8adfa3
Update README.md 2020-09-21 16:42:38 -04:00
William Falcon 6309a0dbb8
Update README.md 2020-09-21 16:37:26 -04:00
William Falcon 1957de371a
Update README.md 2020-09-21 16:36:22 -04:00
William Falcon 90b9194ade
Update README.md 2020-09-21 16:34:55 -04:00
William Falcon 726b589ecb
Update README.md 2020-09-21 16:33:29 -04:00
William Falcon 35cc3b2269
Update README.md 2020-09-21 16:31:54 -04:00
William Falcon ae5e28f9d9
Update README.md 2020-09-21 16:29:44 -04:00
William Falcon 656972cd37
Update README.md 2020-09-21 11:25:13 -04:00
William Falcon 2f301faf85
Update README.md 2020-09-21 11:19:29 -04:00
William Falcon 32303f1022
Docs clean up of results and forward vs training_step confusion (#3584)
* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs

* docs
2020-09-21 11:17:59 -04:00
Nicki Skafte b1347c956a
[Metrics] AUROC error on multilabel + improved testing (#3350)
* error on multilabel

* fix tests

* fix pep8

* changelog

* update doc test

* fix doctest

* fix doctest

* update from suggestion

* Apply suggestions from code review

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* Update test_classification.py

* Update test_classification.py

* retrigger test

* 'pep8

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2020-09-21 11:46:48 +02:00
ananthsub c346679f81
Black format pytorch_lightning/core/datamodule.py (#3574)
Split out changes from #3563 to make that PR easier to review
2020-09-20 23:00:00 -04:00
ananthsub 3442b97d1f
Black format pytorch_lightning/core/hooks.py (#3575)
Split out changes from #3563 to make that PR easier to review. This formats the file according to the Black formatter
2020-09-20 22:59:42 -04:00
ananthsub cf1b946d4a
Black format pytorch_lightning/core/lightning.py (#3576)
* Black format pytorch_lightning/core/hooks.py

Split out changes from #3563 to make that PR easier to review. This formats the file according to the Black formatter

* Split out changes from #3563 to make that PR easier to review. This formats the file according to the Black formatter
2020-09-20 22:59:21 -04:00
William Falcon 21cfdf6874
ref: result 1/n (make monitor default to checkpoint_on to simplify re… (#3571)
* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* Update pytorch_lightning/callbacks/model_checkpoint.py

Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>

* ref: result 1/n (make monitor default to checkpoint_on to simplify result syntax)

* force crash when max_epochs < epochs in a checkpoint

Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>
2020-09-20 22:58:43 -04:00
William Falcon 277538970d
force crash when max_epochs < epochs in a checkpoint (#3580)
* force crash when max_epochs < epochs in a checkpoint

* force crash when max_epochs < epochs in a checkpoint
2020-09-20 22:04:22 -04:00
Adrian Wälchli a71d62d840
Fix deterministic behavior in ddp_spawn (#3573)
* docs

* set env variable

* fix

* changelog
2020-09-20 19:42:58 -04:00
William Falcon 9acee67c31
fixes 3549 (#3564) 2020-09-19 20:00:50 -04:00
Adrian Wälchli e6c7548b30
Fix overfit_batches > 0 on distributed_backend = "ddp" (#3534)
* example

* ex

* example

* sampler

* fix

* fix

* remove example

* changelog
2020-09-19 19:00:58 -04:00
Adrian Wälchli 99f05ed23f
fix warnings on windows (#3555) 2020-09-19 18:29:06 -04:00
Jirka Borovec 0284f7ab5a
nightly releases (#3552)
* nightly

* nightly

* ls
2020-09-19 18:28:34 -04:00
ananthsub 79607e4b94
Black format the model checkpoint callback (#3559)
* Update gradient_accumulation_scheduler.py

add types for gradient accumulation scheduler callback

* Apply black formatting to model checkpoint callback

auto-format, no other changes

* Update gradient_accumulation_scheduler.py

drop other changes

Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-09-19 18:28:09 -04:00
ananthsub 31388eda1a
Add type hints to model checkpoint callback (#3560)
* Update gradient_accumulation_scheduler.py

add types for gradient accumulation scheduler callback

* Apply black formatting to model checkpoint callback

auto-format, no other changes

* Update gradient_accumulation_scheduler.py

drop other changes

* Add type hints to model checkpoint callback

* Update model_checkpoint.py

remove trainer/lightning modules types to avoid circular import
2020-09-19 18:26:49 -04:00
clement-f e7ee473c90
Fix typo in loggers.rst (#3557) 2020-09-19 20:54:49 +02:00
Yigit Ozen 67fed01a16
Fixed failed import warning for torch.distributed.group (#3553) 2020-09-19 18:52:30 +02:00
Rohit Gupta 07b857769a
Allow kwargs in Wandb & Neptune + kwargs docstring (#3475)
* Allow kwargs in WandbLogger

* isort

* kwargs docstring

* typo

* kwargs for other loggers

* pep and isort

* formatting

* fix failing test

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2020-09-19 18:51:43 +02:00
Jirka Borovec 8eb77cd06a
drop v0.10 deprecated (#3454)
* drop v0.10 deprecated

* import

* missed
2020-09-19 11:47:26 -04:00