Jirka Borovec
c869dd8b8f
make evaluate private ( #1260 )
...
* make evaluate private
* changelog
2020-03-30 12:14:27 -04:00
sneiman and seth
6dfe9951e1
validation and training loops run the partial dataset ( #1192 )
...
* auto_add_sampler() fix
* auto_add_sampler() fix
Co-authored-by: seth <seth@duckpapa.com >
2020-03-30 12:13:34 -04:00
davinnovation
1d1aba812b
update readme typo ( #1292 )
2020-03-30 10:12:48 -04:00
William Falcon
31b71483c4
remove .item which causes sync issues ( #1254 )
...
* remove .item which causes sync issues
* fixed gradient acc sched
* fixed gradient acc sched
2020-03-29 20:20:34 -04:00
Paweł Rzepiński
b74a3c5106
Fix training resuming docs ( #1265 )
2020-03-29 15:29:48 -04:00
Donal Byrne and Donal Byrne
fb42872259
Update docs iterable datasets ( #1281 )
...
* Updated Sequencial Data docs
* Sequntial Data section now contains info on using IterableDatasets
* * Undid reformatting of bullet points
* * added information about val_check_interval
Co-authored-by: Donal Byrne <Donal.Byrne@xperi.com >
2020-03-29 15:29:09 -04:00
Ethan Harris
ab09faa15e
Add support for iterable datasets when val_check_interval=1.0 ( #1283 )
...
* Add support for iterable datasets when val_check_interval=1.0
* Update CHANGELOG.md
2020-03-29 15:27:44 -04:00
Jeremy Jordan
54507f417e
fix logging config and add profiler test ( #1267 )
2020-03-29 14:56:36 -04:00
dab3b965cb
Example: Simple RL example using DQN/Lightning ( #1232 )
...
* Example: Simple RL example using DQN/Lightning
* DQN RL Agent using Lightning
* Uses Iterable Dataset for Replay Buffer
* Buffer is populated by agent as training is carried out, updating the
dataset
* Applied autopep8 fixes
* * Updated line length from 120 to 110
* Update pl_examples/domain_templates/dqn.py
simplify get_device method
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* Update pl_examples/domain_templates/dqn.py
Re-ordered imports
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* CI: split tests-examples (#990 )
* CI: split tests-examples
* tests without template
* comment depends
* CircleCI typo
* add doctest
* update test req.
* CI tests
* setup macOS
* longer train
* lover pred acc
* fix model
* rename default model
* lower tests acc
* typo
* imports
* fix test optimizer
* update calls
* fix Win
* lower Drone image
* fix call
* pytorch image
* fix test
* add dev image
* add dev image
* update image
* drone volume
* lint
* update test notes
* rename tests/models >> tests/base
* group models
* conftest
* optim imports
* typos
* fix import
* fix tests
* install AMP
* tests
* fix import
* Clean up
* added module docstring
* renamed variables to be more descriptive
* Added missing docstrings and type annotations
* Added gym to example requirements
* Added note to changelog
* updated example image
* update types
* rename script
* Update CHANGELOG.md
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* another rename
* Disable validation when val_percent_check=0 (#1251 )
* fix disable validation
* add test
* update changelog
* update docs for val_percent_check
* make "fast training" docs consistent
* calling self.forward() -> self() (#1211 )
* self.forward() -> self()
* update changelog
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com >
* Fix requirements-extra.txt Trains package to release version (#1229 )
* Fix requirement-extra use released Trains package
* Update README.md add Trains and links to the external Visualization section
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com >
* Remove unnecessary parameters to super() in documentation and source code (#1240 )
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com >
* update deprecation warning (#1258 )
* update docs for progress bat values (#1253 )
* lower timeouts for inactive issues (#1250 )
* update contrib list (#1241 )
Co-authored-by: William Falcon <waf2107@columbia.edu >
* Fix outdated docs (#1227 )
* Fix typo (#1224 )
* drop unused Tox (#1242 )
* system info (#1234 )
* system info
* update big info
* test script
* update config
* rename script
* import path
* Changed smoothing in tqdm to decrease variability of time remaining between training / eval (#1194 )
* Example: Simple RL example using DQN/Lightning
* DQN RL Agent using Lightning
* Uses Iterable Dataset for Replay Buffer
* Buffer is populated by agent as training is carried out, updating the
dataset
* Applied autopep8 fixes
* * Updated line length from 120 to 110
* Update pl_examples/domain_templates/dqn.py
simplify get_device method
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* Update pl_examples/domain_templates/dqn.py
Re-ordered imports
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* Clean up
* added module docstring
* renamed variables to be more descriptive
* Added missing docstrings and type annotations
* Added gym to example requirements
* Added note to changelog
* update types
* rename script
* Update CHANGELOG.md
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* another rename
Co-authored-by: Donal Byrne <Donal.Byrne@xperi.com >
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com >
Co-authored-by: William Falcon <waf2107@columbia.edu >
Co-authored-by: Adrian Wälchli <adrian.waelchli@students.unibe.ch >
Co-authored-by: Jeremy Jordan <13970565+jeremyjordan@users.noreply.github.com >
Co-authored-by: Martin.B <51887611+bmartinn@users.noreply.github.com >
Co-authored-by: Tyler Yep <tyep@stanford.edu >
Co-authored-by: Shunta Komatsu <59395084+skmatz@users.noreply.github.com >
Co-authored-by: Jack Pertschuk <jackpertschuk@gmail.com >
2020-03-28 16:10:53 -04:00
Justus Schock
4e0d0ab8d2
Update Contributors ( #1274 )
...
* Update Contributors in Readme
* Update Governance
2020-03-28 16:09:00 -04:00
Adrian Wälchli
0b0180406b
Fix outdated docs follow up ( #1266 )
...
* save_top_k
* num_gpus
* print_nan_grads fix leftovers
* undo doctest removal
2020-03-28 11:30:57 -04:00
Jack Pertschuk
12b39a74b4
Changed smoothing in tqdm to decrease variability of time remaining between training / eval ( #1194 )
2020-03-27 09:22:53 -04:00
Jirka Borovec
61177cd1c8
system info ( #1234 )
...
* system info
* update big info
* test script
* update config
* rename script
* import path
2020-03-27 08:45:52 -04:00
Jirka Borovec
1a9719c1c8
drop unused Tox ( #1242 )
2020-03-27 08:44:55 -04:00
Shunta Komatsu
ac6692d3e4
Fix typo ( #1224 )
2020-03-27 08:43:12 -04:00
Shunta Komatsu
3a93aaf9e2
Fix outdated docs ( #1227 )
2020-03-27 08:42:52 -04:00
Jirka Borovec and William Falcon
da185342ce
update contrib list ( #1241 )
...
Co-authored-by: William Falcon <waf2107@columbia.edu >
2020-03-27 08:42:14 -04:00
Jirka Borovec
9bb2e00cb6
lower timeouts for inactive issues ( #1250 )
2020-03-27 08:41:31 -04:00
Jirka Borovec
bec43c9f8a
update docs for progress bat values ( #1253 )
2020-03-27 08:41:07 -04:00
Jirka Borovec
593bf50759
update deprecation warning ( #1258 )
2020-03-27 08:40:47 -04:00
Tyler Yep and Jirka Borovec
6772e0c197
Remove unnecessary parameters to super() in documentation and source code ( #1240 )
...
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com >
2020-03-27 12:36:50 +00:00
Martin.B and Jirka Borovec
6a0b171be4
Fix requirements-extra.txt Trains package to release version ( #1229 )
...
* Fix requirement-extra use released Trains package
* Update README.md add Trains and links to the external Visualization section
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com >
2020-03-27 08:32:19 +01:00
Jeremy Jordan and Jirka Borovec
d394b80ac8
calling self.forward() -> self() ( #1211 )
...
* self.forward() -> self()
* update changelog
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com >
2020-03-27 08:17:56 +01:00
Adrian Wälchli
2a4cd479e2
Disable validation when val_percent_check=0 ( #1251 )
...
* fix disable validation
* add test
* update changelog
* update docs for val_percent_check
* make "fast training" docs consistent
2020-03-27 02:07:22 +00:00
William Falcon
e86e6b2faa
updated example image
2020-03-26 09:28:08 -04:00
Jirka Borovec
45d671a4a8
CI: split tests-examples ( #990 )
...
* CI: split tests-examples
* tests without template
* comment depends
* CircleCI typo
* add doctest
* update test req.
* CI tests
* setup macOS
* longer train
* lover pred acc
* fix model
* rename default model
* lower tests acc
* typo
* imports
* fix test optimizer
* update calls
* fix Win
* lower Drone image
* fix call
* pytorch image
* fix test
* add dev image
* add dev image
* update image
* drone volume
* lint
* update test notes
* rename tests/models >> tests/base
* group models
* conftest
* optim imports
* typos
* fix import
* fix tests
* install AMP
* tests
* fix import
2020-03-25 07:46:27 -04:00
ced662fc27
Custom argparser extension with Trainer arguments (argument types added) ( #1147 )
...
* `add_argparse_args` method fixed (argument types added)
* CHANGELOG.md upd
* autopep8 fixes
* --gpus=0 removed from test (for ci tests)
* typo fixed
* reduce on plateau scheduler fixed
* Trainer cli related tests moved to test_trainer_cli.py
* refactored: get_init_arguments_and_types is a public classmethod of the Trainer now
* test_get_init_arguments_and_types added
* autopep8 fixes
* Trainer cli related tests moved to test_trainer_cli.py
* refactored: get_init_arguments_and_types is a public classmethod of the Trainer now
* test_get_init_arguments_and_types added
* autopep8 fixes
* Trainer cli related tests moved to test_trainer_cli.py
* refactored: get_init_arguments_and_types is a public classmethod of the Trainer now
* test_get_init_arguments_and_types added
* autopep8 fixes
* Trainer cli related tests moved to test_trainer_cli.py
* test_get_init_arguments_and_types added
* autopep8 fixes
* Apply suggestions from code review
* cosmetics
* cosmetics
* Update pytorch_lightning/trainer/trainer.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* `Trainer.get_init_arguments_and_types` now returns arg types wrapped in tuples (not in sets)
* deprecated args are now ignored in argparser
* get_deprecated_arg_names small refactor
* get_deprecated_arg_names bug fixed
* Trainer cli related tests moved to test_trainer_cli.py
* refactored: get_init_arguments_and_types is a public classmethod of the Trainer now
* test_get_init_arguments_and_types added
* autopep8 fixes
* Trainer cli related tests moved to test_trainer_cli.py
* autopep8 fixes
* Trainer cli related tests moved to test_trainer_cli.py
* Trainer cli related tests moved to test_trainer_cli.py
* test_get_init_arguments_and_types added
* autopep8 fixes
* autopep8 fixes
* Apply suggestions from code review
* cosmetics
* cosmetics
* Update pytorch_lightning/trainer/trainer.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* `Trainer.get_init_arguments_and_types` now returns arg types wrapped in tuples (not in sets)
* deprecated args are now ignored in argparser
* get_deprecated_arg_names small refactor
* get_deprecated_arg_names bug fixed
* Update pytorch_lightning/trainer/trainer.py
Co-Authored-By: Joe Davison <joe@huggingface.co >
* Update pytorch_lightning/trainer/trainer.py
Co-Authored-By: Joe Davison <joe@huggingface.co >
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com >
Co-authored-by: Joe Davison <joe@huggingface.co >
Co-authored-by: William Falcon <waf2107@columbia.edu >
2020-03-24 14:55:27 -04:00
Jirka Borovec
f6dabc2fe9
update chnagelog ( #1169 )
...
* update chnagelog
* formatting
2020-03-24 14:53:31 -04:00
Teddy Koker
6a9bbbc886
Fix dataloaders in TPU example ( #1174 )
2020-03-24 14:53:15 -04:00
So Uchida
60b8246bc3
Pretty test results with pprint ( #1176 )
2020-03-24 14:52:57 -04:00
Adrian Wälchli
ce9d87597b
update header links in docs ( #1184 )
...
* update links in docs
* fix
2020-03-24 14:52:38 -04:00
Jirka Borovec
5917e6b138
Mergify: configuration update ( #1200 )
...
* Mergify: configuration update
* Update .mergify.yml
* Update .mergify.yml
* Update .mergify.yml
2020-03-24 14:50:55 -04:00
Jirka Borovec and Adrian Wälchli
38b63f95af
Docs badges / images ( #1202 )
...
* move docs images
* click GH badges
* fixed docs build error
Co-Authored-By: Adrian Wälchli <adrian.waelchli@inf.unibe.ch >
Co-authored-by: Adrian Wälchli <adrian.waelchli@inf.unibe.ch >
2020-03-24 14:50:35 -04:00
Adrian Wälchli
d735055e6f
add missing overfit_pct docs ( #1204 )
...
* add missing overfit_pct docs
* move arg to old position
* move arg docs
2020-03-24 14:49:11 -04:00
Rishabh Anand
e880e29f2b
Fixed typos in README ( #1219 )
2020-03-24 14:48:31 -04:00
Jeremy Jordan
4c2026bf9a
increase profiler test coverage ( #1208 )
...
* increase profiler test coverage
* fix line length
* tests for valueerror assertions
2020-03-24 09:15:16 -04:00
Jirka Borovec and Nic Eggert
3be81cb54e
test deprecated - model ( #1074 )
...
* pylint
* model API
* update test
* formatting
* disable logger
* fix checking overwrite
* fix test
* typo
* deprecated model
* fix for DDP
* drop Flake8 in GH actions
* Update pytorch_lightning/trainer/evaluation_loop.py
* fix imports
Co-authored-by: Nic Eggert <nic@eggert.io >
2020-03-20 20:51:14 +01:00
792962ecc9
CI: Force docs warnings to be raised as errors (+ fix all) ( #1191 )
...
* add argument to force warn
* fix automodule error
* fix permalink error
* fix indentation warning
* fix warning
* fix import warnings
* fix duplicate label warning
* fix bullet point indentation warning
* fix duplicate label warning
* fix "import not top level" warning
* line too long
* fix indentation
* fix bullet points indentation warning
* fix hooks warnings
* fix reference problem with excluded test_tube
* fix indentation in print
* change imports for trains logger
* remove pandas type annotation
* Update pytorch_lightning/core/lightning.py
* include bullet points inside note
* remove old quick start guide (unused)
* fix unused warning
* fix formatting
* fix duplicate label issue
* fix duplicate label warning (replaced by class ref)
* fix tick
* fix indentation warnings
* docstring ticks
* remove obsolete docstring typing
* Revert "remove old quick start guide (unused)"
This reverts commit d51bb40695442c8fa11bc9df74f6db56264f7509.
* added old quick start guide to navigation
* remove unused tutorials file
* ignore some modules that got deprecated and are not used anymore
* fix duplicate label warning
* move examples doc and exclude pl_examples from autodoc
* fix formatting for configure_optimizer
* fix no blank line warnings
* fix "see also" labels and add paramref extension
* fix more reference problems
* fix multi-gpu reference
* fix weird warning
* fix indentation and unrecognized characters in code block
* fix warning "... not included in toctree"
* fix PIL import error
* fix duplicate target "here" warning
* fix broken link
* revert accidentally moved pl_examples
* changelog
* stdout
* note some things to know
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
Co-authored-by: J. Borovec <jirka.borovec@seznam.cz >
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com >
2020-03-20 20:49:01 +01:00
Adrian Wälchli and Jirka Borovec
732eaee4d7
nan detection and intervention ( #1097 )
...
* check for nan values
* test nan detection on loss
* sys.exit
* whitespace
* detect nan and inf values in loss and params
* update
* added documentation
* moved detect nan to training loop, remove flag for print
* blank line
* test
* rename
* deprecate print_nan_grads
* deprecated print_nan_grads
* remove unused imports
* update changelog
* fix line too long
* correct deprecated version
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* raise exception instead of sysexit
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* raise exception instead of sysexit
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 >
* Update pytorch_lightning/trainer/training_tricks.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* fix test
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com >
2020-03-19 09:24:45 -04:00
Jeremy Jordan
36274bed49
ensure reset method works in notebooks ( #1093 )
2020-03-19 09:23:18 -04:00
authman and Jirka Borovec
711892a0a2
Fix Configuring Learning Rate Schedulers ( #1177 )
...
* Update docs so users know the desired manner of configuring learning rate schedulers.
* update list
* as note
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com >
2020-03-19 09:22:29 -04:00
So Uchida and Jirka Borovec
01b8991c5a
Support hierarchical dict ( #1152 )
...
* Add support for hierarchical dict
* Support nested Namespace
* Add docstring
* Migrate hparam flattening to each logger
* Modify URLs in CHANGELOG
* typo
* Simplify the conditional branch about Namespace
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* Update CHANGELOG.md
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com >
* added examples section to docstring
* renamed _dict -> input_dict
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com >
2020-03-19 09:15:47 -04:00
22a7264e9a
improve partial Codecov ( #1172 )
...
* ignore in setup
* show report
* abs imports
* abstract pass
* cover loggers
* doctest trains
* locals
* pass
* revert tensorboard
* use tensorboardX
* revert tensorboardX
* fix trains
* Add TrainsLogger.set_credentials (#1179 )
* Add TrainsLogger.set_credentials to control trains server configuration and authentication from code. Sync trains package version.
Fix CI Trains tests
* Add global TrainsLogger set_bypass_mode (#1187 )
* Add global TrainsLogger set_bypass_mode skips all external communication
Co-authored-by: bmartinn <>
* rm some no-cov
Co-authored-by: Martin.B <51887611+bmartinn@users.noreply.github.com >
2020-03-19 09:14:29 -04:00
Abhinav Moudgil
73a911890b
Backward compatibility for checkpoint loading ( #1132 )
...
* check if hparams_type exists in checkpoint dictionary for backward compatibility
* concisely maintain backward compatibility for hparams type
* Bug fix in checkpoint loading (#1132 )
2020-03-17 18:45:36 -04:00
Jacob Zhong
1a73fa0b03
change default logger to dedicated one ( #1064 )
...
Fix test
Fix format
Update pytorch_lightning/__init__.py
Separate imports
2020-03-17 18:44:00 -04:00
William Falcon and Jirka Borovec
c32e3f3ea5
coverage increase ( #1167 )
...
* fixed docs
* Docs (#1164 )
* fixed docs
* fixed docs
* fixed docs
* fixing Win failed import (#1163 )
* version
* try fix distrib
* update try import
* fixed docs
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com >
2020-03-16 21:43:43 -04:00
Jirka Borovec
e461ec0037
fixing Win failed import ( #1163 )
...
* version
* try fix distrib
* update try import
2020-03-16 20:50:36 -04:00
William Falcon
49d000c0c9
Docs ( #1164 )
...
* fixed docs
* fixed docs
* fixed docs
2020-03-16 20:50:14 -04:00
Jirka Borovec
c89e482f85
prune codecov exceptions ( #1107 )
2020-03-16 14:40:34 -04:00
Nicki Skafte and Nicki Skafte
384e124490
ReduceLROnPlateau bug fix ( #1126 )
...
* bug fix and test
* update CHANGELOG.md
Co-authored-by: Nicki Skafte <nugginea@gmail.com >
2020-03-16 14:35:10 -04:00