Eric Cousineau
e886d55ac1
argparse: Add use_argument_group=True ( #6088 )
...
* argparse: Add inplace option
Replicate in GAN model
* datamodule: Deduplicate logic w/ argparser utilities
* Update pl_examples/domain_templates/generative_adversarial_net.py
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
* Keep docstrings
* Correct name
* Whitespace
* Consistency
* fix weird type stuff
* try alt - use_argument_group
* fix syntax + lint
* fix ci errs
* fix ci
* change examples... still failing w/ "unrecognized arguments: --batch_size"
* address review
* mnist_datamodule: add some docstrings
* argparse: check cls or cls.__init__ for param
didn't capture issue, but meh
* fix lint
* fix no-doc edge case
* address review
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2021-03-11 10:50:49 -05:00
Kaushik B
079fe9bc09
Hotfix for torchvision ( #6476 )
2021-03-11 16:49:48 +05:30
Jirka Borovec
e84854264f
CI: fix examples - patch download MNIST ( #6357 )
...
* patch download
* CI
* isort
* extra
2021-03-05 16:50:21 +00:00
Jihoon Lee
d1200af358
fix model arguements ( #5653 )
2021-02-05 21:40:40 +01:00
Jirka Borovec
21d313edc5
yapf examples ( #5709 )
2021-01-30 10:17:12 +00:00
Jirka Borovec
53b0cb910b
update isort config ( #5335 )
...
* update isort config
* apply
(cherry picked from commit 724f1051f0
)
2021-01-06 12:49:23 +01:00
Akihiro Nitta
abc690d720
Apply isort to `pl_examples/` ( #5291 )
...
* Remove examples from isort ignore list
* Apply isort
(cherry picked from commit 0c7c9e8540
)
2021-01-06 12:47:53 +01:00
Jirka Borovec
518d915422
add doctests for example 1/n ( #5079 )
...
* define tests
* fix basic
* fix gans
* unet
* test
* drop
* format
* fix
* revert
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
2021-01-05 09:58:37 +01:00
Jirka Borovec
3b83666823
prune ecosystem example ( #5085 )
...
* draft
* wip
* CI
* drop pl geometry
* copy
* logo
2021-01-05 09:58:37 +01:00
Ludger Paehler
7c4356464c
Minor typo in the description of Adam's beta 2 ( #4715 )
...
Adam's beta 2 parameter was mistakenly referred to as the first order momentum of the gradient, whereas it should be the second order momentum. This has no effect on the correct working of the example.
2020-11-17 17:00:36 +01:00
Sahin Kureta
90bb7b1fbb
update examples ( #4233 )
...
* Removed image generation inside the training step.
It was overwriting the image grid generated in `on_epoch_end`. I also made `adversarial_loss` a static method.
* Incorporated Hyperparameter best practices
Using ArgumentParser and hparams as defined in the Hyperparameters section of
the documentation. This way we can set trainer flags (such as precision,
and gpus) from the command line.
* Incorporated Hyperparameter best practices
Using ArgumentParser and hparams as defined in the Hyperparameters section of
the documentation. This way we can set trainer flags (such as precision,
and gpus) from the command line.
* Split the data part into a LightningDataModule
* Update pl_examples/domain_templates/generative_adversarial_net.py
Co-authored-by: Jeff Yang <ydcjeff@outlook.com>
2020-10-21 18:07:18 +02:00
William Falcon
00ba2b24b7
Drop all result docs. Make the separation between flow and logging clear ( #3744 )
...
* remove results docs. separate flow from log
2020-09-30 08:31:16 -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
Adrian Wälchli
7dc58bd286
Refactor model summary + generalize example input array ( #1773 )
...
* squash
variant a
variant b
add test
revert rename
add changelog
docs
move changelog entry to top
use hooks
wip
wipp
layer summary
clean up, refactor
type hints
rename
remove obsolete code
rename
unused imports
simplify formatting of table and increase readability
doctest
superclass object
update examples
print unknown sizes
more docs and doctest
testing
unknown layers
add rnn test
remove main
restore train mode
test device wip
device
constant
simplify model forward transfer
return summary object in method
extend tests
fix summary for empty module
extend tests
refactor and added hook
variant a
variant b
add test
revert rename
add changelog
docs
move changelog entry to top
remove hardcoded string
simplify
test unknown shapes and all others
comments for tests
fix hparams attribute
* update default
* unused import
* clean up
* replace hardcoded strings
* fix doctest
* fix top/full
* black
* fix rnn test
* fix rnn
* update debugging docs
update docs
typo
update docs
update docs
* add changelog
* extract constant
* setter and getter
* move parity models to test folder
* parameterize mode
2020-06-15 17:05:58 -04:00
Rohit Gupta
0914873bc2
Fix domain_template scripts ( #2014 )
...
* Fix domain_templates
* Fix type of fake labels
* type
* args
2020-06-01 11:38:52 -04:00
Artem Lobantsev
55fdfe3845
Bugfix/fix gan example ( #2019 )
...
* 🐛 fixed fake example type assigning and hparams arg
* fixed GAN example to work with dp, ddp., ddp_cpu
* Update generative_adversarial_net.py
Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-05-31 08:31:21 -04:00
William Falcon
caa9c6760b
replace Hparams by init args ( #1896 )
...
* remove the need for hparams
* remove the need for hparams
* remove the need for hparams
* remove the need for hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* replace self.hparams
* fixed
* fixed
* fixed
* fixed
* fixed
* fixed
* fixed
* fixed
* fixed
* fixed
* fixed
* fixed
* fixed
* fixed
* finished moco
* basic
* testing
* todo
* recurse
* hparams
* persist
* hparams
* chlog
* tests
* tests
* tests
* tests
* tests
* tests
* review
* saving
* tests
* tests
* tests
* docs
* finished moco
* hparams
* review
* Apply suggestions from code review
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
* hparams
* overwrite
* transform
* transform
* transform
* transform
* cleaning
* cleaning
* tests
* examples
* examples
* examples
* Apply suggestions from code review
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
* chp key
* tests
* Apply suggestions from code review
* class
* updated docs
* updated docs
* updated docs
* updated docs
* save
* wip
* fix
* flake8
Co-authored-by: Jirka <jirka@pytorchlightning.ai>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2020-05-24 18:59:08 -04:00
William Falcon
5bb6b41b78
dataloaders with fast_dev_run ( #1787 )
...
* dataloaders with fast_dev_run
* dataloaders with fast_dev_run
* dataloaders with fast_dev_run
* fix
* pep 8
2020-05-11 23:32:44 -04:00
Jirka Borovec
22bedf9b57
simplify examples structure ( #1247 )
...
* simplify examples structure
* update changelog
* fix imports
* rename example
* rename scripts
* changelog
2020-04-03 17:57:34 -04:00