William Falcon
60633eaa32
Moves hpc auto-resubmit to trainer from test-tube ( #207 )
...
* added slurm signal handler
* added restore weight functions
* set slurm signal handling inside process
* added resubmit docs
* added resubmit docs
* fixed missing param
* Update trainer.py
* fixed missing param
* fixed missing param
* debugging tests
* debugging tests
* debugging tests
* debugging tests
* debugging tests
* debugging tests
* debugging tests
2019-09-06 11:54:51 -04:00
Jirka Borovec
7ed928dfac
add PR template ( #204 )
...
* add PR template
* Update PULL_REQUEST_TEMPLATE.md
2019-09-06 10:12:06 -04:00
Nic Eggert
1733dba735
Pass outputs from all dataloaders to test_end and validation_end ( #203 )
...
* Pass outputs from all dataloaders to test_end and validation_end
* Update tests
* Update docs
* Update trainer.py
* Update test_models.py
2019-09-06 07:37:25 -04:00
Jirka Borovec
447ed30716
extend pip install info ( #194 )
...
* extend pip install info
* Update README.md
* Update README.md
2019-09-06 07:30:51 -04:00
William Falcon
7e0ac3149c
refactored init ( #206 )
2019-09-06 00:29:38 -04:00
Thomas J Fan
bd50d9a2b4
DOC Adds reference to test-tube ( #205 )
2019-09-05 21:13:49 -04:00
Jirka Borovec
5ef6fa5608
add osx to Travis ( #202 )
...
* add CI macOS
* add CI Windows
* update CI
* drop Win
* update CI
* update CI
2019-09-05 15:08:19 -04:00
Anton Konstantinov
34b824a9d3
Implement correct transfer to GPU for batches ( #200 )
2019-09-05 07:13:06 -04:00
Thomas J Fan
62252cee58
STY Minor flake8 fix ( #197 )
2019-09-04 17:46:56 -04:00
Max Horn
dac41030d4
Allow to deactivate GPU memory logging in Trainer ( #190 )
...
* Allow to deactivate GPU memory logging in Trainer
Adds the flag `log_gpu_memory` to Trainer to deactivate logging of GPU
memory utilization. On some servers logging the GPU memory usage can
significantly slow down training.
* Update Logging.md
* Update trainer.py
2019-09-04 10:43:46 -04:00
Verena Haunschmid
0872c32151
fix import in Tensorboard example ( #193 )
2019-09-04 10:20:59 -04:00
Thomas J Fan
c766167773
DOC Minor import fix ( #192 )
2019-09-04 06:17:54 -04:00
Nic Eggert
64688e1e15
Refactor test modules ( #180 )
...
* Expectopatronum implement #89 (#182 )
* rename validate -> evaluate; implement test logic; allow multiple test_loaders
* add test_step and test_end to LightningModule
* add in_test_mode to pretraining to implement case 2 (test pretrained model)
* fix code style issues
* LightningTestModel: add optional second test set, implement test_step and test_end
* implemented test for multiple test_dataloaders; fixed typo
* add two test cases for #89
* add documentation for test_step, test_end; fix computation of loss in validation_step example
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Added proper dp ddp routing calls for test mode
* Update trainer.py
* Update test_models.py
* Update trainer.py
* Update trainer.py
* Update override_data_parallel.py
* Update test_models.py
* Update test_models.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update test_models.py
* Update test_models.py
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* Update trainer.py
* Update override_data_parallel.py
* Update debug.py
* Update lm_test_module.py
* Update test_models.py
* release v0.4.8
* Update README.md
* add training loop docs
* testing loop docs
* testing loop docs
* Convert __dataloader to _dataloader
This will let inherited classes use it
* Factor common test model setup into base class
* Specialized test modules inherit from LightningTestModelBase
* Fix __is_overriden so that it works with more complicated inheritance
* Use mixins to add functionality to test models
* Fix test with no val_dataloader
* Remove unused imports
* Get rid of wild card import
* Update trainer.py
* Update lm_test_module.py
2019-09-02 15:46:16 -04:00
William Falcon
c4ce347f3e
testing loop docs
2019-09-02 07:15:45 -04:00
William Falcon
8d6648e51d
Update README.md
2019-09-02 07:15:45 -04:00
William Falcon
9e6ce3b0d6
testing loop docs
2019-09-02 07:15:45 -04:00
William Falcon
a327596b79
add training loop docs
2019-09-02 07:15:45 -04:00
William Falcon
08a1ae8069
release v0.4.8
2019-09-02 07:15:45 -04:00
Verena Haunschmid
25d5b25792
Expectopatronum implement #89 ( #182 )
...
* rename validate -> evaluate; implement test logic; allow multiple test_loaders
* add test_step and test_end to LightningModule
* add in_test_mode to pretraining to implement case 2 (test pretrained model)
* fix code style issues
* LightningTestModel: add optional second test set, implement test_step and test_end
* implemented test for multiple test_dataloaders; fixed typo
* add two test cases for #89
* add documentation for test_step, test_end; fix computation of loss in validation_step example
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Added proper dp ddp routing calls for test mode
* Update trainer.py
* Update test_models.py
* Update trainer.py
* Update trainer.py
* Update override_data_parallel.py
* Update test_models.py
* Update test_models.py
* Update trainer.py
* Update trainer.py
* Update trainer.py
* Update test_models.py
* Update test_models.py
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* Update trainer.py
* Update override_data_parallel.py
* Update debug.py
* Update lm_test_module.py
* Update test_models.py
2019-09-02 07:15:27 -04:00
Stanislav
73cf47112e
Gradient accumulation callback ( #150 )
...
* Gradient accumulation callback
* little test case
* typo
* import fix
* method name fix
* fix epochs indexing from 1
* better code style
* code style fix v2 :/
* change interface
* fix Trainre new api in tests
* trainer api bug fix
* new raising error, new update method
* extentions tests
* a little better tests
* typo fix
* flack8 better
* using scheduler for int and dict
* typo
* firs epoch bug fix
* test update
* empty dict exception
* floats check
* codestyle fix
* grad counting test
* someday, i will install normal linter
* add more checks
* Update test_models.py
* Update test_models.py
* Update test_models.py
* Update test_models.py
* Update test_models.py
* Update test_models.py
* Update test_models.py
2019-08-30 10:56:14 -04:00
Ir1dXD
c2247350bb
feat(val_sanity): enable skipping validation sanity ( #176 )
...
* feat(val_sanity): enable skipping validation sanity when self.nb_sanity_val_steps is 0
* docs: elaborate on skipping
2019-08-28 06:41:31 -04:00
William Falcon
67c314272b
Update setup.py ( #174 )
2019-08-27 18:07:33 -04:00
Ir1dXD
da4c1e3409
docs: add repo_name in the upright corner ( #171 )
2019-08-27 16:46:18 -04:00
Jirka Borovec
cd89b4ef43
move GH docs ( #168 )
2019-08-27 07:10:26 -04:00
Ir1dXD
6eb6daa278
enable highlight ( #170 )
2019-08-27 07:09:46 -04:00
William Falcon
c24599f5e5
release v
2019-08-24 08:13:54 -04:00
Ryan McCormick
b22e5918a9
fix python syntax in code blocks to be consistent ( #166 )
...
A couple code blocks used "{.python}" instead of just "python" for the syntax highlighting, which doesn't render properly in GitHub markdown.
2019-08-23 21:24:18 -04:00
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
2ad9a9708b
Update README.md
2019-08-23 16:10:45 -04:00
William Falcon
ecce22f4de
Update README.md
2019-08-23 16:10:24 -04:00
Sebastian Præsius
b31539f62e
Guard against AttributeError in dataloaders. ( #161 )
...
A solution for https://github.com/williamFalcon/pytorch-lightning/issues/142 .
Since hasattr "calls getattr(object, name) and to see whether it raises an AttributeError or not", I replaced it with a single call to getattr.
See also https://stackoverflow.com/questions/24971061/python-hasattr-vs-getattr
2019-08-23 08:21:39 -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
William Falcon
a1490e993a
Update README.md
2019-08-23 03:46:27 -04:00
William Falcon
77d085134b
Update README.md
2019-08-23 03:45:14 -04:00
William Falcon
c30f69f60d
Update lightning_module_template.py
2019-08-23 02:42:40 -04:00
William Falcon
d5d47eab0d
Update lightning_module_template.py
2019-08-23 02:39:05 -04:00
Sebastian Præsius
9fc66026f1
train = False in test_dataloader ( #162 )
...
A small change to the CoolModel example.
Now test_dataloader returns the MNIST test dataset.
2019-08-22 17:44:06 -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
William Falcon
7119ec1693
Update CONTRIBUTING.md
2019-08-20 09:51:11 -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
William Falcon
4ad4588122
Update README.md
2019-08-19 07:22:02 -04:00
William Falcon
ac8186cb3c
Update README.md
2019-08-19 07:20:10 -04:00
Jirka Borovec
dbbbba35c9
add Codecov info ( #144 )
2019-08-19 06:35:09 -04:00
William Falcon
f2a02881e3
Update README.md
2019-08-18 19:17:25 -04:00
William Falcon
e8c423a3b0
Update README.md
2019-08-18 19:16:57 -04:00
William Falcon
73b70584e7
Update README.md
2019-08-18 19:16:25 -04:00
William Falcon
736cf9b162
Update README.md
2019-08-18 19:16:09 -04:00
William Falcon
5771583c9d
Update README.md
2019-08-18 19:15:41 -04:00