coqui-tts/TTS/tts/utils
Agrin Hilmkil ced4cfdbbf Allow saving / loading checkpoints from cloud paths (#683)
* Allow saving / loading checkpoints from cloud paths

Allows saving and loading checkpoints directly from cloud paths like
Amazon S3 (s3://) and Google Cloud Storage (gs://) by using fsspec.

Note: The user will have to install the relevant dependency for each
protocol. Otherwise fsspec will fail and specify which dependency is
missing.

* Append suffix _fsspec to save/load function names

* Add a lower bound to the fsspec dependency

Skips the 0 major version.

* Add missing changes from refactor

* Use fsspec for remaining artifacts

* Add test case with path requiring fsspec

* Avoid writing logs to file unless output_path is local

* Document the possibility of using paths supported by fsspec

* Fix style and lint

* Add missing lint fixes

* Add type annotations to new functions

* Use Coqpit method for converting config to dict

* Fix type annotation in semi-new function

* Add return type for load_fsspec

* Fix bug where fs not always created

* Restore the experiment removal functionality
2021-08-09 18:02:36 +00:00
..
text Docstrings for `Trainer` 2021-06-28 17:03:47 +02:00
__init__.py rename the project to old TTS 2020-09-09 12:27:23 +02:00
data.py Fix stopnet training 2021-07-24 11:39:54 +02:00
measures.py rename the project to old TTS 2020-09-09 12:27:23 +02:00
speakers.py Allow saving / loading checkpoints from cloud paths (#683) 2021-08-09 18:02:36 +00:00
ssim.py change `to(device)` to `type_as` in models 2021-06-28 17:03:19 +02:00
synthesis.py rename to 2021-06-28 17:03:19 +02:00
visual.py isort all imports 2021-04-09 00:45:20 +02:00