William Falcon
caf7893f27
ref: modular is_overridden ( #3290 )
...
* ref: modular is_overridden
* ref: modular is_overridden
* ref: modular is_overridden
* ref: modular is_overridden
2020-08-31 12:12:02 -04:00
William Falcon
b0f77a74a1
ref: added data connector ( #3285 )
...
* ref: added data connector
* ref: added data connector
* ref: added data connector
* ref: added data connector
* ref: added data connector
* ref: added data connector
* ref: added data connector
* ref: added data connector
* ref: added data connector
* ref: added data connector
2020-08-31 11:08:22 -04:00
edenlightning
b4887d7647
Update README.md ( #3289 )
2020-08-31 10:52:45 -04:00
Akihiro Nitta
a91fced3b8
Update docs/source/new-project.rst ( #3272 )
2020-08-31 16:48:50 +02:00
William Falcon
f46318ebfe
clean docs new guide ( #3270 )
...
* updated docs
* updated docs
* updated docs
* updated docs
* updated docs
2020-08-30 11:01:16 -04:00
William Falcon
6f3f688c27
updated docs ( #3268 )
...
* updated docs
* updated docs
2020-08-30 10:01:09 -04:00
William Falcon
14b28190dd
simplify docs ( #3267 )
...
* updated docs
* updated docs
* updated docs
* updated docs
* updated docs
* updated docs
2020-08-30 09:31:36 -04:00
William Falcon
2b3b968064
Simpledocs ( #3265 )
...
* updated docs
* updated docs
* updated docs
2020-08-30 06:51:34 -04:00
Carlos Mocholí
cc80749c7e
Parse Union[bool, str] arguments ( #3235 )
...
* Parse Union[bool, str] arguments
* Address review
Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-08-29 10:39:42 -04:00
Jeremy Jordan
a5d1176cf6
callback method for on_save_checkpoint ( #2501 )
...
* initial draft
* fix test
* Update pytorch_lightning/trainer/callback_hook.py
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
* fix tests
* remove old code
* untested upgrade script
* document limitations
* clean up and add tests
* Update pytorch_lightning/trainer/training_io.py
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
* reflect PR comments
* fix formatting
* Update docs/source/callbacks.rst
* clarify docs
* revert change for loading checkpoints
* small edits
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2020-08-28 16:50:52 +02:00
James Bockman
79375e6d0a
Bug Fix: Remote Logging with Tensorboard ( #3236 )
...
* Changed standard open to cloud_open
* Changed how version numbers are extracted to remove terminal / from paths
* formatting
Co-authored-by: James Bockman <james@aiml.team>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-08-28 07:01:35 -04:00
monney
d5254ff9df
warn user when dropping unpicklable hparams ( #2874 )
...
* refactored clean_namespace
* Update try except to handle pickling error
* Consolidated clean_namespace. Added is_picklable
* PEP8
* Change warning to use rank_zero_warn. Added Test to ensure proper hparam filtering
* Updated imports
* Corrected Test Case
2020-08-28 09:07:43 +02:00
Rohit Gupta
85cd558a3f
Follow up of #2892 ( #3202 )
...
* Follow up of #2892
* typo
* iterabledataset
2020-08-27 15:28:29 -04:00
Ananya Harsh Jha
40eaa2143e
add desc for minimize ( #3216 )
2020-08-27 14:25:39 -04:00
Rohit Gupta
f03943ee94
Fix GpuUsageLogger to work on different platforms ( #3008 )
...
* Fix GpuUsageLogger
* docstrings
* misconfigexception
* add basic tests
* skip doctest
* fix parameter and docstring
* rm cl
* skip doctest
* cleanup
* chlog
* add suggestions from review
* add test from suggestions
* fix import
* fix test
* fix test
* fix test
* fix test
* rename GpuUsageLogger to GPUStatsMonitor
* doc fix
* Apply suggestions from code review
* update docs format
* update docs
* miss
* merge
* fix title formatting
* unindent
* punctuation
* simplify if statements
* fix test
* suggestions
* pep
* Update CHANGELOG.md
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
* fix on_train_batch_*
* use AttributeDict
* usage
* rank zero
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
* import
* minor changes
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Adrian Wälchli <adrian.waelchli@inf.unibe.ch>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-08-27 19:50:32 +02:00
William Falcon
b9319d6a42
Update __init__.py
2020-08-27 11:52:51 -04:00
Lezwon Castelino
8b504a15da
update core contributors ( #3224 )
2020-08-27 11:27:54 -04:00
William Falcon
f3c63f7746
tests to ensure correct dataloader calls ( #3221 )
...
* tests to ensure correct dataloading interval and sequence
* tests to ensure correct dataloading interval and sequence
* tests to ensure correct dataloading interval and sequence
* tests to ensure correct dataloading interval and sequence
* tests to ensure correct dataloading interval and sequence
2020-08-27 09:49:46 -04:00
Philipp Singer
0aee137ba7
DP device fix ( #3196 )
2020-08-27 09:01:29 -04:00
Duc Pham
4d98419bb8
Fix potential typo in early stopping `monitor` keys ( #3213 )
...
* Fix typo
* ref: group prepare data hook (6) (#3212 )
* group prepare data hook
* group prepare data hook
* group prepare data hook
* group prepare data hook
* group prepare data hook
* group prepare data hook
* group prepare data hook
* Fix typo
Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-08-26 22:21:30 -04:00
William Falcon
464a0e7bb1
ref: group prepare data hook (6) ( #3212 )
...
* group prepare data hook
* group prepare data hook
* group prepare data hook
* group prepare data hook
* group prepare data hook
* group prepare data hook
* group prepare data hook
2020-08-26 22:20:00 -04:00
William Falcon
be0438bb47
group fit data links
2020-08-26 21:34:55 -04:00
William Falcon
eb12f58edf
reduced accelerator selection ( #3211 )
2020-08-26 21:29:10 -04:00
William Falcon
4272360076
ddp backend refactor ( #3210 )
2020-08-26 21:02:15 -04:00
William Falcon
3a26b4ff5c
ddp backend refactor ( #3209 )
2020-08-26 20:31:09 -04:00
William Falcon
6bae404bed
ref: ddp backend refactor (3) ( #3208 )
...
* ddp backend refactor
* ddp backend refactor
2020-08-26 20:03:09 -04:00
William Falcon
a8daf914f8
ddp backend refactor ( #3207 )
2020-08-26 19:10:24 -04:00
William Falcon
ff3c2f4cff
ddp backend refactor ( #3204 )
2020-08-26 18:43:28 -04:00
William Falcon
f3384d0cbb
ref: ddps train hooks ( #3203 )
...
* ddps train
* ddps train
2020-08-26 15:37:40 -04:00
Abe Fetterman
8fa73da302
Update index.rst ( #3201 )
2020-08-26 15:02:00 -04:00
William Falcon
ef07b0c4b3
acceleartor fit 1 ( #3200 )
2020-08-26 14:20:38 -04:00
William Falcon
e6bb26db1b
ref: .fit hook clean up ( #3198 )
...
* eval loop clean up
* eval loop clean up
* eval loop clean up
* eval loop clean up
2020-08-26 13:53:23 -04:00
William Falcon
a1705441a9
ref: remove _evaluate fx ( #3197 )
...
* remove _evaluate
* remove _evaluate
* remove _evaluate
* remove _evaluate
* remove _evaluate
* remove _evaluate
* remove _evaluate
* remove _evaluate
2020-08-26 12:28:14 -04:00
Lezwon Castelino
d9ea25590e
fix ONNX model save on GPU ( #3145 )
...
* added to(device)
* added test
* fix test on gpu
* Update pytorch_lightning/core/lightning.py
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
* Update pytorch_lightning/core/lightning.py
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
* remove multi gpu check
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
* updated message
* Update pytorch_lightning/core/lightning.py
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
* updated test
* onxx to onnx
* Update pytorch_lightning/core/lightning.py
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
* Update tests/models/test_onnx.py
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
* add no grad
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
* add isinstance back
* chlog
* error is input_sample is not Tensor
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Jirka Borovec <jirka@pytorchlightning.ai>
2020-08-26 16:22:19 +00:00
William Falcon
bd35c869ee
ref: moved hooks around in eval loop ( #3195 )
...
* moved hooks around in eval loop
* moved hooks around in eval loop
* moved hooks around in eval loop
* moved hooks around in eval loop
2020-08-26 08:45:15 -04:00
Sordie
888340d17e
Fix RMSLE metric ( #3188 )
...
* fix rmsle
* Updated test to match rmsle fix
* Updated RMSLE example result to match functional
* chlog
* add randomized test
* fix pep8
Co-authored-by: Jirka Borovec <jirka@pytorchlightning.ai>
Co-authored-by: Nicki Skafte <skaftenicki@gmail.com>
2020-08-26 08:02:53 -04:00
Lucas Steinmann
ae3bf919c6
Fixed example implementation of AutoEncoder. ( #3190 )
...
The previous implementation trained a auto encoder and evaluated
classificator.
I try to fix this by replacing the evaluation metric with an auto
encoder metric.
Hence, no classification is done.
I'm not 100% sure what the original authors intent was, since he
extends a classification model (LitMNIST) but does not use it.
The following model is an AutoEncoder and does not do any
classification.
1. Small textual changes.
2. forward() now implements encoding and not decoding (as it was described
in the text.)
3. _shared_eval uses MSE loss instead of class loss, since no
classification weights are learned.
4. initialized MSE in __init__, since calling MSE directly is not
supported.
2020-08-26 07:33:04 -04:00
Nicki Skafte
17d8773106
New modular metric interface ( #2528 )
...
* new base structure
* missing packages
* updated interface
* revert some changes
* fixes
* add changelog
* fix bug
* added description
* test for pickable
* fixing test
* fixing test
* fix pickle issue
* reduceop typehints back
* remove redundant module arg
* add save/load test
* add aggregate method
* text clarification
* fix doctest
* Apply suggestions from code review
* change test to results obj
* fix docs
* formatting
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
* formatting
* pep
* Update CHANGELOG.md
* suggestions
* fix tests
* fix pep8
* fix tests
Co-authored-by: Nicki Skafte <nugginea@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2020-08-26 13:01:29 +02:00
LiJiezhi
0112355055
Update training_tricks.py ( #3151 )
...
* Update training_tricks.py
* pep
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-08-26 07:57:34 +00:00
Shiv Dhar
cb0c60bf7a
Fix typo ( #3174 )
2020-08-26 08:18:59 +02:00
William Falcon
bda1400225
ref: restore on_eval_start hook ( #3183 )
...
* restore eval loop hook
2020-08-26 00:45:43 -04:00
William Falcon
c84060bcf3
remove on_perf check hooks ( #3178 )
2020-08-25 22:57:23 -04:00
William Falcon
2f6d82e0e6
ref: remove on_eval_start hook ( #3176 )
...
* remove on_eval_start hook
* remove on_eval_start hook
2020-08-25 22:28:00 -04:00
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