Use fsspec and torch for embedding file IO (#1581)

* Use fsspec and torch for embedding file

* Fixup

* Fix load and save files

* Fix compute embedding script

* Set use_cuda to true if available

* Add dummy speakers.pth file

* Make style

* Change default speakers file extension

Co-authored-by: WeberJulian <julian.weber@hotmail.fr>
This commit is contained in:
Eren Gölge
2022-06-01 13:49:42 +02:00
committed by GitHub
co-authored by WeberJulian
parent b6bd74a9a9
commit f70e82cd19
6 changed files with 53 additions and 35 deletions
+1
View File
@@ -117,6 +117,7 @@ venv.bak/
# pytorch models
*.pth
*.pth.tar
!dummy_speakers.pth
result/
# setup.py