lightning/pytorch_lightning/utilities
Peter Yu 06cd849538
Allow loading checkpoints from urls (#1667)
* allow loading checkpoints from urls

* tmpdir_server fixture

* test cases for loading checkpoints from url

* dir => root_dir

* default map_location to None

* test case for resume_from_checkpoint

* changelog

* doc update

* monkeypatch TORCH_HOME to avoid caching

* Use a threading server with random ports so that it is easier to clean up

* test fixes

* pep8 fix

* ThreadingHTTPServer support in 3.6

* pep8 fix

* fix changelog

* separate tests for urls

* typo

Co-authored-by: Peter Yu <2057325+yukw777@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-06-11 17:12:48 -04:00
..
__init__.py update hparams, allow OmegaConf (#2047) 2020-06-08 07:19:34 -04:00
apply_func.py data transfer model hook (+ refactor) (#1756) 2020-06-02 21:45:19 -04:00
device_dtype_mixin.py Rework of Sklearn Metrics (#1327) 2020-06-10 15:43:12 +02:00
distributed.py
exceptions.py
io.py Allow loading checkpoints from urls (#1667) 2020-06-11 17:12:48 -04:00
memory.py
parsing.py update hparams, allow OmegaConf (#2047) 2020-06-08 07:19:34 -04:00