Commit Graph

2969 Commits

Author SHA1 Message Date
Carlos Mocholí 59fb332677
Set pep8speaks' max-line-length to 120 (same as black) (#3173) 2020-08-25 21:21:02 -04:00
William Falcon a7705c8677
expand eval loop out (#3165) 2020-08-25 12:28:00 -04:00
William Falcon 9adf7dfed0
ref: clean up data reset (#3161)
* clean up data reset

* clean up data reset
2020-08-25 11:36:08 -04:00
Vasudev Gupta f22292c5f2
GANs in pl-examples updated for lightning-0.9 (#3152)
* gan updated for lightning-0.9

* bugs fixed
2020-08-25 11:05:03 -04:00
Vicente Oyanedel Muñoz 5f39ae804a
Added missing docs on[ TrainResult and EvalResult source docs. (#3157)
* Added missing parameter 'minimize' docs in TrainResult

* Added missing docs for parameters in TrainResult and EvalResult
2020-08-25 11:04:37 -04:00
William Falcon 50aed42d6b
ref: clean up hooks in run_evaluation (#3156)
* clean up hooks in run_evaluation

* clean up hooks in run_evaluation

* clean up hooks in run_evaluation

* clean up hooks in run_evaluation

* clean up hooks in run_evaluation

* clean up hooks in run_evaluation

* clean up hooks in run_evaluation
2020-08-25 10:56:32 -04:00
William Falcon 22b9642117
ref: final inner eval loop hooks (#3154)
* final inner eval loop hooks

* final inner eval loop hooks
2020-08-25 08:04:50 -04:00
nithin varghese 6f634a1f0a
README.md typo correction (#3147) 2020-08-25 09:22:58 +00:00
William Falcon ccc923cbb0
ref: refactored inner eval loop (#3141)
* refactored dataloader process hook

* refactored dataloader process hook

* refactored dataloader process hook
2020-08-24 22:50:59 -04:00
William Falcon f064d74be8
refactored dataloader process hook (#3139) 2020-08-24 21:53:56 -04:00
William Falcon 229b87655a
ref: add eval loop object to streamline eval loop (#3138)
* added eval loop

* added eval loop

* added eval loop

* added eval loop

* added eval loop

* added eval loop
2020-08-24 21:27:11 -04:00
William Falcon 82d1128966
eval step scaling factor (#3136) 2020-08-24 20:26:39 -04:00
William Falcon 6c3cec3a3c
training amp scaling refactor (#3135) 2020-08-24 19:59:46 -04:00
William Falcon 4db1a2a323
training forward refactor (#3134) 2020-08-24 19:31:31 -04:00
William Falcon 0b3cb3c955
ref: moved ___step_end hooks (#3130)
* moved eval hooks

* moved eval hooks

* moved eval hooks

* moved eval hooks

* moved eval hooks

* moved eval hooks

* moved eval hooks
2020-08-24 17:50:47 -04:00
William Falcon c556ee6119
ref: refactor eval loop to use hooks. use test_mode for if so we can split later (#3129)
* moved eval hooks

* moved eval hooks

* moved eval hooks

* moved eval hooks
2020-08-24 15:48:14 -04:00
William Falcon a0997bb7a6
ref: added hook base method (#3127)
* added hook base method

* added hook base method
2020-08-24 13:46:46 -04:00
William Falcon 20018b2668
ref: reduced all simplified_forward (#3126)
* simplified training_forward

* simplified training_forward

* simplified training_forward
2020-08-24 13:05:58 -04:00
William Falcon 6068b29d29
ref: remove obscure forward call in eval + CPU backend ___step (#3123)
* remove obscure forward call in eval

* remove obscure forward call in eval

* remove obscure forward call in eval

* remove obscure forward call in eval

* remove obscure forward call in eval

* remove obscure forward call in eval
2020-08-24 12:31:40 -04:00
William Falcon 18160b81b5
refactored horovod backend (#3122) 2020-08-24 11:13:49 -04:00
Uladzislau Sazanovich 2d42ec008f
Make trainer.state a read-only property (#3109)
* Make trainer.state a read-only property

* Update states.py

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-08-24 16:49:33 +02:00
William Falcon 8ebf4fe173
ref: refactored horovod backend (#3121)
* refactored horovod backend

* refactored horovod backend
2020-08-24 10:35:32 -04:00
William Falcon 8d7ca5cd2c
ref: refactored gpu backend __step (#3120)
* refactored gpu backend __step

* refactored gpu backend __step

* refactored gpu backend __step

* refactored gpu backend __step
2020-08-24 09:22:05 -04:00
William Falcon 527b9dca36
refactored ddp backend forward (#3119) 2020-08-24 07:33:14 -04:00
William Falcon 3c88b0dd83
Refactor 1: moved tpu xxx_step to backend (#3118)
* moved tpu training_step

* refactored eval step

* refactored eval step

* refactored eval step
2020-08-24 07:02:06 -04:00
Jirka Borovec 45e7491dcc
drop packaging (#3105) 2020-08-24 05:28:56 -04:00
zcain117 a783e75dc3
Fix tpu cleanup (#3056)
* Only try to delete jobs if there are any to delete.

* Reorder jobs.

* Remove cleanup from the jobs that run on every commit.
2020-08-24 11:04:20 +02:00
Blue Tyson 54d78fbbd4
Update README.md (#3106)
Automating
2020-08-24 11:02:18 +02:00
Santiago Castro 1f7cc1ce3e
Fix an import deprecation warning (#3110) 2020-08-24 10:59:47 +02:00
s-rog 7b054399c6
fix tb hparams logging (#2974)
* log_hyperparams add default metric

also adds scalar support

* fix typos and style

* another typo

* keep original logging implementation

* remove missed line

* fix capitalization

* add step to leg_metrics for tests

* disable hp metric none (-1) logging

to pass tests

* initial arg implementation

* add step to log_metrics

* add hp_metric case to log test

* add docs 

and minor formatting

* fix broken else

* pep8 style

* edit tests

* Update pytorch_lightning/loggers/tensorboard.py

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update pytorch_lightning/loggers/tensorboard.py

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2020-08-24 06:57:04 +00:00
William Falcon 83ab3eadb6
Update README.md 2020-08-22 09:02:27 -04:00
Rohit Gupta 34c88d127b
Fix log_graph in TensorBoardLogger (#3092) 2020-08-22 06:35:09 -04:00
Rohit Gupta 478abd6b0f
Fix warning in ModelCheckpoint (#3094) 2020-08-22 06:33:25 -04:00
Odd Eirik Igland c044e2c08d
fix(docs): test_dataloader use transformed dataset (#3090)
* fix(docs): test_dataloader use transformed dataset

* suggestion

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2020-08-22 11:40:42 +02:00
Rohit Gupta 7cca3859a7
Fix num_sanity_val_steps is clipped to limit_val_batches (#2917)
* Fix num_sanity_val_steps according to limit_val_steps

* fix test

* add num_sanity_batches

* pep

* update docstring in test

* add more test

* chlog

* update comments and docstring in test

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Adrian Wälchli <adrian.waelchli@inf.unibe.ch>
Co-authored-by: Ananya Harsh Jha <ananya@pytorchlightning.ai>
2020-08-21 20:11:31 +02:00
Jirka Borovec bcdb750976
changelogs clean (#3082)
* clean

* ver
2020-08-20 22:58:53 +00:00
William Falcon b40de5464a
0.9.0 (#3081) 2020-08-20 14:56:32 -04:00
William Falcon 26e39d4fea
Update __init__.py 2020-08-20 13:49:59 -04:00
Ananya Harsh Jha d7874567e9
fix for multiple types in trainer add_argparse_args (#3077)
* fix

* fix

* fix

* fix

* temp

* fix

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-08-20 13:49:34 -04:00
edenlightning af8acebc6c
Readme changes (#3078)
* Readme changes

* Update README.md

* Update README.md

* 0.9.0 readme

* 0.9.0 readme

Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-08-20 12:45:40 -04:00
William Falcon cc205f6a65
0.9.0 readme (#3075)
* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme

* 0.9.0 readme
2020-08-20 11:45:28 -04:00
Jirka Borovec 58b1c902e4
changelog for release 0.9 (#2998)
* miss

* fix wrong changelog entry

* miss

* update changelog

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2020-08-20 15:44:08 +02:00
William Falcon 329061390f
Update __init__.py 2020-08-20 09:06:46 -04:00
William Falcon 11b86e44b5
remove last of bad result obj warning (#3073)
* fixed bad warn for result obj

* fixed bad warn for result obj
2020-08-20 09:06:29 -04:00
William Falcon da49b15e19
fixed bad warn for result obj (#3072) 2020-08-20 09:01:40 -04:00
William Falcon d51155c7ad
Update __init__.py 2020-08-20 08:50:49 -04:00
edenlightning ed184a913a
Change structure of walkthrough (#2949)
* deconflict

* fix links

* deconflict

* deconflict

* deconflict

* deconflict

* deconflict

* deconflict

* deconflict

* deconflict

* deconflict

* deconflict

* deconflict

* deconflict

Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-08-20 08:50:24 -04:00
Nathan Raw bab89b8d21
Add transfer_batch_to_device hook to DataModule (#3038)
*  add dm to_device logic in trainer

* 🔥 remove unnecessary comment

*  add to_device logic to datamodule

*  add test

* updated docs

Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-08-20 08:47:11 -04:00
Peter Yu cee5eaf659
flake8 fixes (#3064)
* flake8 fixes

* fix pep8

* fix pep8

Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-08-20 07:45:22 -04:00
Peter Yu 9a605642a4
Make sure all kwargs come after args in _load_model_state() (#3063) 2020-08-20 07:29:44 -04:00