init
Browse files- attach_speaker_embedding_s2s.py +1 -1
- main_s2s.sh +28 -0
attach_speaker_embedding_s2s.py
CHANGED
@@ -13,7 +13,7 @@ sides = set(direction.split("-"))
|
|
13 |
dataset_id = os.getenv("DATASET_ID", 0)
|
14 |
num_proc = int(os.getenv("NUM_PROC", 1))
|
15 |
hf_org = os.getenv("HF_ORG", "asahi417")
|
16 |
-
hf_dataset =
|
17 |
dataset = load_dataset(f"{hf_org}/{hf_dataset}", f"subset_{dataset_id}", split="train")
|
18 |
audio_loader = Audio()
|
19 |
speaker_embedder = MetaVoiceSE()
|
|
|
13 |
dataset_id = os.getenv("DATASET_ID", 0)
|
14 |
num_proc = int(os.getenv("NUM_PROC", 1))
|
15 |
hf_org = os.getenv("HF_ORG", "asahi417")
|
16 |
+
hf_dataset = f"seamless-align-{direction}"
|
17 |
dataset = load_dataset(f"{hf_org}/{hf_dataset}", f"subset_{dataset_id}", split="train")
|
18 |
audio_loader = Audio()
|
19 |
speaker_embedder = MetaVoiceSE()
|
main_s2s.sh
CHANGED
@@ -33,6 +33,34 @@ do
|
|
33 |
python attach_speaker_embedding_s2s.py
|
34 |
done
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
####################
|
37 |
# enA-hiA: 454_942 #
|
38 |
####################
|
|
|
33 |
python attach_speaker_embedding_s2s.py
|
34 |
done
|
35 |
|
36 |
+
for i in $(seq 2 40);
|
37 |
+
do
|
38 |
+
export DATASET_ID=${i}
|
39 |
+
export DIRECTION="enA-jaA"
|
40 |
+
python attach_speaker_embedding_s2s.py
|
41 |
+
done
|
42 |
+
for i in $(seq 41 80);
|
43 |
+
do
|
44 |
+
export DATASET_ID=${i}
|
45 |
+
export DIRECTION="enA-jaA"
|
46 |
+
python attach_speaker_embedding_s2s.py
|
47 |
+
done
|
48 |
+
|
49 |
+
for i in $(seq 81 120);
|
50 |
+
do
|
51 |
+
export DATASET_ID=${i}
|
52 |
+
export DIRECTION="enA-jaA"
|
53 |
+
python attach_speaker_embedding_s2s.py
|
54 |
+
done
|
55 |
+
|
56 |
+
|
57 |
+
for i in $(seq 121 144);
|
58 |
+
do
|
59 |
+
export DATASET_ID=${i}
|
60 |
+
export DIRECTION="enA-jaA"
|
61 |
+
python attach_speaker_embedding_s2s.py
|
62 |
+
done
|
63 |
+
|
64 |
####################
|
65 |
# enA-hiA: 454_942 #
|
66 |
####################
|