Comments (1)
add a `local_dir` parameter for Vocos class may work:
@classmethod
def from_pretrained(cls, local_dir: str, repo_id: str = None, revision: Optional[str] = None) -> Vocos:
"""
Class method to create a new Vocos model instance from a pre-trained model stored in the Hugging Face model hub.
"""
if local_dir:
config_path = os.path.join(local_dir, "config.yaml")
model_path = os.path.join(local_dir, "pytorch_model.bin")
elif repo_id:
config_path = hf_hub_download(repo_id=repo_id, filename="config.yaml", revision=revision)
model_path = hf_hub_download(repo_id=repo_id, filename="pytorch_model.bin", revision=revision)
from vocos.
Related Issues (20)
- Is Vocos suitable for singing?
- combine with superresolution HOT 2
- Training error, help needed!
- how to convert custom ckpt to bin? HOT 3
- Bark+Vocos.ipynb fails on saving mp3 files with error about FFmpeg backend
- error
- Export to ONNX HOT 14
- Compatibility with Matcha TTS HOT 7
- "error: No module named 'encodec'" while training a vocos
- MPS support HOT 2
- Why spectogram power is picket as 1?
- Bark + Vocos for longer text to speech ?
- Debug in vscode
- Training vocos on a single speaker dataset
- 32kHz Vocos Multi Speaker Model Training Log HOT 10
- Feature maps from 1st layer of each discriminator not included
- About the VISQOL
- COLA == Training Instability?
- How to use customized trained models?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vocos.