Comments (1)
Hi @arthuttupo
It this bit of code that's looking for an extra folder+files
##################################################
#### Check to see if a finetuned model exists ####
##################################################
# Set the path to the directory
trained_model_directory = this_dir / "models" / "trainedmodel"
# Check if the directory "trainedmodel" exists
finetuned_model = trained_model_directory.exists()
# If the directory exists, check for the existence of the required files
# If true, this will add a extra option in the Gradio interface for loading Xttsv2 FT
if finetuned_model:
required_files = ["model.pth", "config.json", "vocab.json"]
finetuned_model = all(
(trained_model_directory / file).exists() for file in required_files
)
In summary, its looking for a folder alltalk_tts\models\trainedmodel\
and within that folder it will check for these 3x files existing "model.pth"
, "config.json"
, "vocab.json"
Your model.pth will be the finetuned model and you can copy the other files from the main model folder if needed.
Thanks
from alltalk_tts.
Related Issues (20)
- Integration with RVC HOT 28
- Third option for `Text Not Inside * or " is` HOT 3
- switching between trained models from the webui in standalone mode HOT 1
- [!] Warning: The text length exceeds the character limit of 239 for language 'es', this might cause truncated audio. HOT 1
- AMD GPUs support HOT 4
- Containerized Docker Build Hits a Stopping Point HOT 1
- Any way to debug why AllTalk is not using GPU HOT 16
- Please help i can't make this tool work. HOT 6
- MaryTTS Support HOT 1
- Error in Step 2 Fine tuning. HOT 3
- Intel arc gpu support HOT 2
- Allow batch size 1 by default HOT 1
- FFMPEG RuntimeError: Failed to open the input in finetune.py HOT 3
- Colab HOT 1
- Can i use MMS models? HOT 1
- Standalone Install Error HOT 2
- Free Memory HOT 4
- Expected String and got Path HOT 6
- Possible to run the models entirely on CPU+RAM or the 2nd GPU? HOT 1
- SillyTavern AllTalk extension: Pitch must be between -24 and 24. HOT 4
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 alltalk_tts.