Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Erythrocyte3803 authored Mar 10, 2023
1 parent 67f3581 commit 7e7b3a0
Show file tree
Hide file tree
Showing 7 changed files with 108 additions and 0 deletions.
65 changes: 65 additions & 0 deletions configs/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"train": {
"log_interval": 200,
"eval_interval": 800,
"seed": 1234,
"epochs": 10000,
"learning_rate": 0.0001,
"betas": [
0.8,
0.99
],
"eps": 1e-09,
"batch_size": 6,
"fp16_run": false,
"lr_decay": 0.999875,
"segment_size": 10240,
"init_lr_ratio": 1,
"warmup_epochs": 0,
"c_mel": 45,
"c_kl": 1.0,
"use_sr": true,
"max_speclen": 512,
"port": "8001",
"keep_ckpts": 3
},
"data": {
"training_files": "filelists/train.txt",
"validation_files": "filelists/val.txt",
"max_wav_value": 32768.0,
"sampling_rate": 44100,
"filter_length": 2048,
"hop_length": 512,
"win_length": 2048,
"n_mel_channels": 80,
"mel_fmin": 0.0,
"mel_fmax": 22050
},
"model": {
"inter_channels": 192,
"hidden_channels": 192,
"filter_channels": 768,
"n_heads": 2,
"n_layers": 6,
"kernel_size": 3,
"p_dropout": 0.1,
"resblock": "1",
"resblock_kernel_sizes": [3,7,11],
"resblock_dilation_sizes": [[1,3,5], [1,3,5], [1,3,5]],
"upsample_rates": [ 8, 8, 2, 2, 2],
"upsample_initial_channel": 512,
"upsample_kernel_sizes": [16,16, 4, 4, 4],
"n_layers_q": 3,
"use_spectral_norm": false,
"gin_channels": 256,
"ssl_dim": 256,
"n_speakers": 200
},
"spk": {
"nyaru": 0,
"huiyu": 1,
"nen": 2,
"paimon": 3,
"yunhao": 4
}
}
20 changes: 20 additions & 0 deletions dataset_raw/wav_structure.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
数据集准备

raw
├───speaker0
│ ├───xxx1-xxx1.wav
│ ├───...
│ └───Lxx-0xx8.wav
└───speaker1
├───xx2-0xxx2.wav
├───...
└───xxx7-xxx007.wav

此外还需要编辑config.json

"n_speakers": 10

"spk":{
"speaker0": 0,
"speaker1": 1,
}
4 changes: 4 additions & 0 deletions filelists/test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
./dataset/44k/taffy/000562.wav
./dataset/44k/nyaru/000011.wav
./dataset/44k/nyaru/000008.wav
./dataset/44k/taffy/000563.wav
15 changes: 15 additions & 0 deletions filelists/train.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
./dataset/44k/taffy/000549.wav
./dataset/44k/nyaru/000004.wav
./dataset/44k/nyaru/000006.wav
./dataset/44k/taffy/000551.wav
./dataset/44k/nyaru/000009.wav
./dataset/44k/taffy/000561.wav
./dataset/44k/nyaru/000001.wav
./dataset/44k/taffy/000553.wav
./dataset/44k/nyaru/000002.wav
./dataset/44k/taffy/000560.wav
./dataset/44k/taffy/000557.wav
./dataset/44k/nyaru/000005.wav
./dataset/44k/taffy/000554.wav
./dataset/44k/taffy/000550.wav
./dataset/44k/taffy/000559.wav
4 changes: 4 additions & 0 deletions filelists/val.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
./dataset/44k/nyaru/000003.wav
./dataset/44k/nyaru/000007.wav
./dataset/44k/taffy/000558.wav
./dataset/44k/taffy/000556.wav
Empty file.
Empty file added raw/put_raw_wav_here
Empty file.

0 comments on commit 7e7b3a0

Please sign in to comment.