Comments (5)
Hi @mysxs, thanks for your attention!
It seems that your provided train.json
is not generated by Amphion's code. Our instruction of CustomSVCDataset means that you can prepare your wavs as the following format:
[Your Custom Dataset Path]
┣ singer1
┃ ┣ song1
┃ ┃ ┣ utterance1.wav
┃ ┃ ┣ utterance2.wav
┃ ┃ ┣ ...
┃ ┣ song2
┃ ┣ ...
┣ singer2
┣ ...
After that, you need to specify your custom dataset name and its path ([Your Custom Dataset Path]
) in the exp_config.json
:
"dataset": [
"[Exisiting Dataset Name]",
//...
"[Your Custom Dataset Name]"
],
"dataset_path": {
"[Exisiting Dataset Name]": "[Exisiting Dataset Path]",
//...
"[Your Custom Dataset Name]": "[Your Custom Dataset Path]"
},
"use_custom_dataset": [
"[Your Custom Dataset Name]"
],
After that, when you preprocess the custom dataset (--stage 1
), the Amphion will automatically produce the train.json
and test.json
for you (see this line), where the generated json files will have the Duration
key.
You can follow the steps above. If there are still any bugs, feel free to let us know.
from amphion.
Hi RMSnow, thanks for your reply!
okok, it turns out that train.json
is automatically generated by Amphion. I just found that the directory of my data set is one level higher than CustomSVCDataset. I will modify it and try again~
from amphion.
Hi RMSnow, thanks for your attention!
I reorganized my dataset according to the CustomSVCDataset format. I added two pictures to illustrate my dataset, but the previous error was still reported. Amphion did not automatically generate train.json.
the format of my dataset:
from amphion.
Hi @mysxs !
Seeing your provided screenshots, I came up with two possible reasons:
- You are not specifying
use_custom_dataset
field in your config.json file. You need to add a field like this if you havn't done it:
"dataset_path": [
"ESD": ...
]
"use_custom_dataset": [
"ESD"
],
- You are setting the
processed_dir
same as your raw audio dir. It's recommended not to do so. During the preprocess stage a dir with the name of your dataset name will be created in theprocessed_dir
path. In this case it will create another"/egs/ESD"
dir which may cause overide of your original files. You can try to set this field default("data").
from amphion.
Hi @RMSnow @viewfinder-annn,thank you for your response. Following your advice, I corrected my dataset path, and I successfully resolved the issue. Thank you!
from amphion.
Related Issues (20)
- [BUG]: Parameter "--fs" does work properly HOT 1
- [BUG]: Unable to run stage 1 with FastSpeech2 HOT 4
- When will there be preprocessing of Chinese data sets?[Help]: HOT 3
- Will there be a wechat group for discussion? HOT 1
- [BUG]: prompt_examples/*.wav missing HOT 3
- [BUG]: NaturalSpeech2 training issue HOT 2
- [BUG]: Fix for AssertionError When Running FastSpeech2 Preprocessing (run.sh --stage 1) HOT 1
- [BUG]: TypeError in pad_center() During FastSpeech2 Preprocessing Due to librosa Version Mismatch HOT 1
- Natural Speech2 Training Speed HOT 6
- [BUG]: FastSpeech2 Inference Problem HOT 1
- [Docs]: is their no docs how to get started ?
- Visualization of the generative process HOT 3
- [Help]: MultipleContentsSVC Whisper feature extraction HOT 2
- [Help]: The CustomSVCDataset inference/conversion problem occurred HOT 2
- Regarding Resume in VALLE during training HOT 2
- [Help]: How to train multiple machies in accelerate; HOT 8
- [BUG]: prompt_examples/*.wav missing in NaturalSpeech2 HOT 2
- [Help]: Soft link not work HOT 4
- [Help]: inference the model of vall-e report error HOT 2
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 amphion.