4c5e82c065
Skepticleo trainer argparser ( #1023 )
...
* Added default parser for trainer and class method to construct trainer from default args
* Removed print statement
* Added test for constructing Trainer from command line args
* Removed extra line
* Removed redundant imports, removed whitespace from empty lines
* Fixed typo
* Updated default parser creation to get class attributes automatically
* Updated default parser creation to get class attributes automatically
* Added method to get default args for trainer
* Trimmed trainer get default args method
* Updated from argparse method to not return trainer with static arguments
* Update trainer get default args to classmethod
* adjustment
* fix
* Fixed variable name
* Update trainer.py
* Update test_trainer.py
* Update trainer.py
* Update tests/trainer/test_trainer.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* Update trainer.py
* Update test_trainer.py
* Update trainer.py
* Update test_trainer.py
* Update tests/trainer/test_trainer.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* Update pytorch_lightning/trainer/trainer.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* Update trainer.py
* Update test_trainer.py
Co-authored-by: Mudit Tanwani <mudittanwani@gmail.com >
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com >
2020-03-03 09:32:15 -05:00
Jirka Borovec
7beed7cae6
Trainer cleanup ( #934 )
...
* Trainer cleanup
* update abstract
* remove ...
* remove __init__
* update mixin types
* update callbacks
* fix
* lower test acc
2020-02-27 16:21:14 -05:00
srush and Jirka Borovec
27a3be0287
TPU gradient clipping. ( #963 )
...
* clip
* Update pytorch_lightning/trainer/training_tricks.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* Update pytorch_lightning/trainer/training_tricks.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* pull out epsilon
* add fp16 case
* Update pytorch_lightning/trainer/training_tricks.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com >
2020-02-27 15:46:47 -05:00
Hadrien Mary
be244560b2
Callbacks [wip] ( #889 )
...
* Add callback system + associated test
* Add trainer and pl_module args to callback methods
* typing
* typo in docstring
* Switch to on_.*_start()
* fix on_test_start
* fix the mess after rebasing
2020-02-25 23:17:27 -05:00
Vadim Bereznyuk
edd4a87fb0
Refactor callbacks ( #776 )
...
* Refactor callbacks
* flake8
* Update docstrings
* Simplified callback, protected trainer
* .set_trainer() check
* update docs
* missed super().__ini__()
* Updated tests
* Use uppercase
* refine checkpoint callback tests
* Added test_begin() and test_end()
2020-02-16 00:03:05 -05:00
Jirka Borovec
76a1c67d87
rename logging -> loggers ( #767 )
...
* move logging >> loggers
* add warning
* fix tests
* logging alias
* formatting
* formatting
2020-02-01 15:47:58 -05:00
Jirka Borovec
ea59a99426
update org paths & convert logos ( #685 )
...
* fix typos
* update org paths
* update links from READMe to docs
* add svg logo
* add svg logo-text
* update logos
* testing temp paths
* prune links from readme
* optimize imports
* update logo
* update paths in README
* missing imports
2020-01-20 14:50:31 -05:00
Jirka Borovec
1d4b6be17b
rename trainer modules, drop _mixin ( #571 )
...
* rename trainer modules, drop _mixin
* fix imports
2019-12-04 11:39:14 -05:00