William Falcon
4104a0fc47
cleaned up progbar ( #165 )
...
* cleaned up progbar
* cleaned up progbar
* cleaned up progbar
* cleaned up progbar
* cleaned up progbar
* cleaned up progbar
* cleaned up progbar
* updated base files
* updated base files
* updated base files
* updated base files
* updated base files
* updated base files
* updated base files
* updated base files
* updated base files
* updated base files
* updated base files
* updated base files
* updated base files
* updated base files
* updated base files
* updated base files
* updated base files
* updated base files
* updated base files
* updated base files
* updated base files
* flake 8
2019-08-23 21:23:27 -04:00
William Falcon
cbb9821d9b
Cleaned up val/tng/test nb batches ( #163 )
...
Set all to be 0 instead of None.
Cleaned up val batch
2019-08-23 07:42:17 -04:00
eqs
4a0b56755c
bug fix for #157 ( #158 )
...
* Separate condition list/tuple case into separated cases
* Add test for tuple of tensor list and list of tensor dict
* Update test_models.py
2019-08-21 10:22:51 -04:00
William Falcon
55a804b7cf
fixes #154 ( #155 )
...
* fixes #154
* Update trainer.py
* Update trainer.py
2019-08-20 16:59:26 -04:00
Ananya Harsh Jha
5b694c7e0e
bug fix for #138 ( #143 )
...
* bug fix for #138
* split if for readability
2019-08-19 15:03:04 -04:00
sebftw
4bdb976284
Set val_check_interval default to 1.0. ( #145 )
...
See discussion in https://github.com/williamFalcon/pytorch-lightning/issues/139 .
2019-08-19 10:42:08 -04:00
sebftw
23a4421595
Removed redundant line. ( #140 )
2019-08-18 18:16:30 -04:00
sebftw
26d3f0dbea
Error if dataset size = 1 batch. ( #141 )
...
Fix for the bug mentioned in https://github.com/williamFalcon/pytorch-lightning/issues/139
2019-08-18 18:15:58 -04:00
Maxim Andreev
e646d745da
use val_percent_check in validation step ( #135 )
2019-08-18 11:02:28 -04:00
William Falcon
308239cef0
allow loss to be used for early stopping ( #127 )
2019-08-16 11:58:44 -04:00
William Falcon
a27fb5d54c
enhanced optimizer return options ( #120 )
...
* added smarter optimizer options
* added smarter optimizer options
* added smarter optimizer options tests
* added smarter optimizer options tests
* added smarter optimizer options tests
* added smarter optimizer options tests
* added smarter optimizer options tests
* added smarter optimizer options tests
* added smarter optimizer options tests
* added single gpu data transfer recursive
* added single gpu data transfer recursive
* added single gpu data transfer recursive
* added single gpu data transfer recursive
* added single gpu data transfer recursive
2019-08-15 11:31:56 -04:00
William Falcon
db9254acbe
enable recursive parsing for single gpu inputs ( #121 )
...
* added tests
* added single gpu data transfer recursive
* added single gpu data transfer recursive
* added single gpu data transfer recursive
* added single gpu data transfer recursive
* added single gpu data transfer recursive
* added single gpu data transfer recursive
2019-08-15 09:39:09 -04:00
William Falcon
2f984c9971
enable returning only opt list ( #114 )
2019-08-14 09:02:11 -04:00
William Falcon
7f53e7bfb3
Val idx optional in validation_step ( #108 )
...
* made dataset_i only available with multiple datasets
* updated interface signature
* updated tests
2019-08-13 11:37:37 -04:00
William Falcon
905a2e5a12
allow user to control optimizer step for every optimizer
...
* added custom hook for user defined optimizer step
* refactored to allow multiple optimizers different training_step
* refactored to allow multiple optimizers different training_step
* refactored to allow multiple optimizers different training_step
* refactored to allow multiple optimizers different training_step
* refactored to allow multiple optimizers different training_step
* pep8
2019-08-13 09:32:45 -04:00
William Falcon
5d5968033f
LR scheduler + train refactor ( #103 )
...
* split __train up for clarity
* split __train up for clarity
* added lr scheduler after epoch completes
2019-08-12 16:07:42 -04:00
Sidhanth Holalkere
511f7ecb9a
Support for multiple val_dataloaders ( #97 )
...
* Added support for multiple validation dataloaders
* Fix typo in README.md
* Update trainer.py
* Add support for multiple dataloaders
* Rename dataloader_index to dataloader_i
* Added warning to check val_dataloaders
Added a warning to ensure that all val_dataloaders were DistributedSamplers if ddp is enabled
* Updated DistributedSampler warning
* Fixed typo
* Added multiple val_dataloaders
* Multiple val_dataloader test
* Update lightning_module_template.py
Added dataloader_i to validation_step parameters
* Update trainer.py
* Reverted template changes
* Create multi_val_module.py
* Update no_val_end_module.py
* New MultiValModel
* Rename MultiValModel to MultiValTestModel
* Revert to LightningTestModel
* Update test_models.py
* Update trainer.py
* Update test_models.py
* multiple val_dataloaders in test template
* Fixed flake8 warnings
* Update trainer.py
* Fix flake errors
* Fixed Flake8 errors
* Update lm_test_module.py
keep this test model with a single dataset for val
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update test_models.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update RequiredTrainerInterface.md
* Update RequiredTrainerInterface.md
* Update test_models.py
* Update trainer.py
dont need the else clause, val_dataloader is either a list or none because of get_dataloaders()
* Update trainer.py
fixed flake errors
* Update trainer.py
2019-08-12 15:23:11 -04:00
William Falcon
e5805bf8ff
val and test are optional now ( #95 )
...
* made validation step optional
* added no val model
* val_step can be implemented but not validation_end
* added no val end model
* added tests
* added tests
* remove class
* remove class
* remove class
* remove class
* remove class
* remove class
* remove class
* remove class
* remove class
* remove class
* remove class
* updated docs
* updated docs
* updated test
* updated test
* updated test
* updated test
* updated test
* updated test
* updated test
* updated test
* updated test
* fix pep8
2019-08-11 10:01:57 -04:00
Nic Eggert
996b1f9a6d
When running DDP without DistributedSampler, throw warning instead of exception ( #91 )
2019-08-10 15:58:12 -04:00
William Falcon
73d08557ba
fix accumulated grad norm fixes #87 ( #88 )
...
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
2019-08-10 08:32:45 -04:00
William Falcon
8cd764a151
removed reduce on non-loss outputs from dp ( #78 )
...
* removed reduce on non-loss outputs from dp
* fixed val reduce
* fixed val reduce
* fixed val reduce
* fixed val reduce
2019-08-08 12:06:29 -04:00
William Falcon
3d23a56ed2
make experiment param in trainer optional ( #77 )
...
* removed forced exp
* modified test to also run without exp
2019-08-08 10:59:16 -04:00
William Falcon
aa7245d9db
Load fix ( #74 )
...
* skip weight load without callback
* added simple cpu test
* fixed pep
2019-08-08 06:00:04 -04:00
William Falcon
f3dea818f2
added single gpu train test
2019-08-07 13:54:32 -04:00
William Falcon
ab499573a1
added single gpu train test
2019-08-07 13:53:44 -04:00
William Falcon
56f16694c4
added single gpu train test
2019-08-07 13:50:12 -04:00
William Falcon
2f7a9ad40d
added single gpu train test
2019-08-07 13:49:01 -04:00
William Falcon
9ecb1f2aee
added single gpu train test
2019-08-07 13:46:06 -04:00
William Falcon
e30514922b
added single gpu train test
2019-08-07 13:43:28 -04:00
William Falcon
afa4548b12
added single gpu train
2019-08-07 13:39:40 -04:00
William Falcon
a2d6d514d5
cleaned up pep8 issues
2019-08-07 10:19:03 -04:00
William Falcon
10e4b18452
made imports absolute
2019-08-07 10:14:59 -04:00
William Falcon
35f23bbc82
Merge pull request #55 from williamFalcon/continue
...
add training restore
2019-08-07 09:02:16 -04:00
William Falcon
2f1df17371
updated test
2019-08-07 09:01:19 -04:00
William Falcon
d539e49085
updated test
2019-08-07 08:14:52 -04:00
William Falcon
df5e10d0aa
updated test
2019-08-07 08:12:54 -04:00
William Falcon
27e88fde31
debug
2019-08-07 07:57:03 -04:00
William Falcon
b8ce4adfa8
debug
2019-08-07 07:55:47 -04:00
William Falcon
cdbcbad352
added hook on_sanity_check_start
2019-08-07 07:51:55 -04:00
William Falcon
b0fae55571
fixed restore location
2019-08-07 07:42:14 -04:00
William Falcon
d5fd16a478
removed bad hook call
2019-08-07 07:38:45 -04:00
William Falcon
82d63a9677
fixed none name
2019-08-07 07:25:20 -04:00
William Falcon
a895bf1b71
fixed none name
2019-08-07 07:15:23 -04:00
William Falcon
d3f19c8321
added auto restore
2019-08-07 06:55:05 -04:00
William Falcon
97a9a0f6c1
Update trainer.py
2019-08-07 10:25:51 +02:00
Jiri BOROVEC
a1bb6237a6
review changes #44
2019-08-06 22:45:46 +02:00
Jiri BOROVEC
d9bfe964f9
update by flake8
2019-08-06 22:45:46 +02:00
Jiri BOROVEC
632d07b490
fix prints for py3.5
2019-08-06 22:45:46 +02:00
Jiri BOROVEC
778149735c
fix tests
2019-08-06 22:45:27 +02:00
Jiri BOROVEC
c44966a8bf
apply PEP8
2019-08-06 22:45:27 +02:00