Skip to content

Commit b913549

Browse files
committed
make everything runnable
1 parent 578de12 commit b913549

17 files changed

+185
-1893
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ data/vcc2018/stats
44
logdir
55
__init__.py
66
__pycache__
7+
run.sh

architectures/architecture-cdvae-cls-gan-mcc.json

+23-32
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"model": "CDVAEGAN",
2+
"model": "CDVAECLSGAN",
33
"model_module": "model.cdvae-cls-gan-mcc",
4-
"trainer": "CDVAEGANTrainer",
5-
"trainer_module": "trainer.cdvae-cls-gan-mcc",
6-
"stat_dir": "/mnt/md1/datasets/vcc2018/world/etc-new",
7-
"spklist": "/mnt/md1/datasets/vcc2018/world/etc/speakers.tsv",
4+
"trainer": "CDVAECLSGANTrainer",
5+
"trainer_module": "trainer.cdvae-cls-gan",
6+
"stats": "./data/vcc2018/stats/stats.h5",
7+
"spklist": "./data/vcc2018/conf/spk.list",
88

99
"z_dim": 16,
1010
"y_dim": 12,
@@ -58,58 +58,49 @@
5858
}
5959
},
6060
"training": {
61-
"train_file_pattern": ["/mnt/md1/datasets/vcc2018/world/bin-dynamic/VAD/tr/*/[12]00[0-6]?.bin",
62-
"/mnt/md1/datasets/vcc2018/world/bin-dynamic/VAD/tr/*/[12]0070.bin"],
63-
"valid_file_pattern": ["/mnt/md1/datasets/vcc2018/world/bin-dynamic/VAD/tr/*/[12]007[1-9].bin",
64-
"/mnt/md1/datasets/vcc2018/world/bin-dynamic/VAD/tr/*/[12]008[0-1].bin"],
61+
"train_file_pattern": ["./data/vcc2018/bin/VAD/*/[12]00[0-6]?.bin",
62+
"./data/vcc2018/bin/VAD/*/[12]0070.bin"],
63+
"valid_file_pattern": ["./data/vcc2018/bin/VAD/*/[12]007[1-9].bin",
64+
"./data/vcc2018/bin/VAD/*/[12]008[0-1].bin"],
6565
"batch_size": 16,
6666
"crop_length": 128,
6767
"lr": 1e-4,
6868
"beta1": 0.5,
6969
"beta2": 0.999,
7070
"nIterD": 5,
71-
"vae_iter": 100000,
72-
"cls_iter": 100000,
73-
"gan_iter": 300000,
74-
"max_iter": 500000,
71+
"vae_iter": 100,
72+
"cls_iter": 100,
73+
"gan_iter": 300,
74+
"max_iter": 500,
7575
"save_freq": 10000,
7676
"summary_freq": 1000,
77-
"log_freq": 1000,
77+
"log_freq": 10,
7878
"gamma": 100,
7979
"lambda": 1000,
8080
"gp_weight": 10
8181
},
8282
"conversion": {
83-
"input": "mcc",
84-
"output": "mcc",
85-
"test_file_pattern": "/mnt/md1/datasets/vcc2018/world/bin-dynamic/no_VAD/ev/{}/*.bin"
83+
"test_file_pattern": "./data/vcc2018/bin/noVAD/{}/3*.bin"
8684
},
8785
"feat_param":{
8886
"fs": 22050,
8987
"shiftms": 5,
9088
"fftl": 1024,
9189
"mcep_alpha": 0.455,
92-
"sp_dim": 513,
93-
"mcc_dim": 34,
94-
"feat_dim": 2710,
90+
"mcep_dim": 34,
91+
"feat_dim": 1064,
9592
"dim":{
9693
"sp": 513,
97-
"mcc": 34,
98-
"feat": 2710
94+
"mcep": 34,
95+
"feat": 1064
9996
}
10097
},
101-
"normalizer_files":{
98+
"normalizer":{
10299
"sp": {
103-
"type": "minmax",
104-
"dim": null,
105-
"max": "sp_max.npf",
106-
"min": "sp_min.npf"
100+
"type": ["minmax"]
107101
},
108102
"mcc": {
109-
"type": "minmax",
110-
"dim": null,
111-
"max": "mcc_max.npf",
112-
"min": "mcc_min.npf"
103+
"type": ["minmax"]
113104
}
114105
}
115-
}
106+
}

architectures/architecture-cdvae-gan-both.json

-102
This file was deleted.

architectures/architecture-cdvae-gan-mcc.json

-101
This file was deleted.

0 commit comments

Comments
 (0)