File size: 7,434 Bytes
8f901c2
 
 
54f280d
 
8f901c2
54f280d
 
 
 
10da330
c76e8c8
 
 
 
54f280d
 
 
10da330
4a04b75
10da330
 
4f70466
c76e8c8
4f70466
c76e8c8
 
 
 
4f70466
 
ea85278
7f90e24
10da330
 
 
 
c76e8c8
 
 
 
 
ea85278
 
c76e8c8
7f90e24
c76e8c8
54f280d
 
7f90e24
54f280d
 
 
4a04b75
e98771d
7f90e24
 
 
 
4a04b75
 
 
8f901c2
c76e8c8
8f901c2
e98771d
c76e8c8
 
 
7f90e24
c76e8c8
 
 
 
 
 
7f90e24
e98771d
 
 
 
c76e8c8
 
7f90e24
c76e8c8
4a04b75
7f90e24
54f280d
7f90e24
54f280d
 
 
7f90e24
54f280d
 
 
4a04b75
10da330
ea85278
 
 
7f90e24
ea85278
 
 
 
 
10da330
e98771d
ea85278
 
 
7f90e24
ea85278
 
 
10da330
ea85278
10da330
 
 
 
e98771d
 
10da330
 
 
 
 
 
 
85389e6
8f901c2
85389e6
ea85278
 
8f901c2
ea85278
 
 
 
8f901c2
ea85278
 
 
8f901c2
ea85278
 
 
 
 
 
7f90e24
ea85278
8f901c2
ea85278
8f901c2
 
 
 
ea85278
 
 
00f97de
85389e6
fdfc0ef
e98771d
3e1b04d
c76e8c8
 
8f901c2
c76e8c8
 
3e1b04d
85389e6
 
 
54f280d
 
85389e6
54f280d
 
 
4578bc8
85389e6
4578bc8
 
 
85389e6
4578bc8
 
 
 
 
c76e8c8
85389e6
c76e8c8
85389e6
c76e8c8
85389e6
 
 
 
c76e8c8
 
 
00f97de
7f90e24
 
e98771d
f18b743
c76e8c8
 
85389e6
c76e8c8
 
85389e6
c76e8c8
85389e6
c76e8c8
 
 
85389e6
c76e8c8
 
 
 
85389e6
4578bc8
 
 
85389e6
4578bc8
 
 
 
c76e8c8
 
85389e6
c76e8c8
 
85389e6
c76e8c8
 
 
00f97de
85389e6
7f90e24
e98771d
85389e6
c76e8c8
 
85389e6
c76e8c8
85389e6
f18b743
8f901c2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e98771d
8f901c2
f18b743
 
8f901c2
f18b743
 
 
8f901c2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f18b743
7f90e24
e98771d
8f901c2
f18b743
 
8f901c2
f18b743
8f901c2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
######################
# enA-frA: 3_054_258 #
######################
# test
export DATASET_ID=test
export DIRECTION="enA-frA"
export LINE_NO_START=0
export LINE_NO_END=10
python fetch_dataset_s2s.py
# main
for i in $(seq 1 600);
do
  export N_POOL=15
  export DATASET_ID=${i}
  export DIRECTION="enA-frA"
  export LINE_NO_START=$(((DATASET_ID-1) * 2500))
  export LINE_NO_END=$((DATASET_ID * 2500))
  echo ${LINE_NO_START}
  python fetch_dataset_s2s.py
done
# tokenize
for i in $(seq 1 600);
do
  export N_POOL=15
  export DATASET_ID=${i}
  export DIRECTION="enA-frA"
  export LINE_NO_START=$(((DATASET_ID-1) * 2500))
  export LINE_NO_END=$((DATASET_ID * 2500))
  echo ${LINE_NO_START}
  python tokenize_dataset_s2s.py
done
# speaker embedding
export SE_MODEL="metavoice"
export SE_MODEL="hubert-xl"
export SE_MODEL="xlsr-2b"
export SE_MODEL="w2vbert-600m"
for i in $(seq 1 600);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-frA"
  python attach_speaker_embedding_s2s.py
done


######################
# enA-esA: 2_658_022 #
######################
# test
export DATASET_ID=test
export DIRECTION="enA-esA"
export LINE_NO_START=0
export LINE_NO_END=10
python fetch_dataset_s2s.py
# main
for i in $(seq 1 532);
do
  export N_POOL=15
  export DATASET_ID=${i}
  export DIRECTION="enA-esA"
  export LINE_NO_START=$(((DATASET_ID-1) * 2500))
  export LINE_NO_END=$((DATASET_ID * 2500))
  echo ${LINE_NO_START}
  python fetch_dataset_s2s.py
done
# tokenize
for i in $(seq 1 532);
do
  export N_POOL=15
  export DATASET_ID=${i}
  export DIRECTION="enA-esA"
  export LINE_NO_START=$(((DATASET_ID-1) * 2500))
  export LINE_NO_END=$((DATASET_ID * 2500))
  echo ${LINE_NO_START}
  python tokenize_dataset_s2s.py
done
# speaker embedding
export SE_MODEL="metavoice"
export SE_MODEL="hubert-xl"
export SE_MODEL="xlsr-2b"
export SE_MODEL="w2vbert-600m"
for i in $(seq 1 532);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-esA"
  python attach_speaker_embedding_s2s.py
done

######################
# enA-deA: 1_965_186 #
######################
# test
export DATASET_ID=test
export DIRECTION="deA-enA"
export LINE_NO_START=0
export LINE_NO_END=10
python fetch_dataset_s2s.py
# main
for i in $(seq 1 394);
do
  export N_POOL=15
  export DATASET_ID=${i}
  export DIRECTION="deA-enA"
  export LINE_NO_START=$(((DATASET_ID-1) * 2500))
  export LINE_NO_END=$((DATASET_ID * 2500))
  echo ${LINE_NO_START}
  python fetch_dataset_s2s.py
done
# tokenize
for i in $(seq 1 394);
do
  export N_POOL=15
  export DATASET_ID=${i}
  export DIRECTION="deA-enA"
  export LINE_NO_START=$(((DATASET_ID-1) * 2500))
  export LINE_NO_END=$((DATASET_ID * 2500))
  echo ${LINE_NO_START}
  python tokenize_dataset_s2s.py
done
# speaker embedding
export SE_MODEL="metavoice"
export SE_MODEL="hubert-xl"
export SE_MODEL="xlsr-2b"
export SE_MODEL="w2vbert-600m"
for i in $(seq 1 394);
do
  export DATASET_ID=${i}
  export DIRECTION="deA-enA"
  python attach_speaker_embedding_s2s.py
done


####################
# enA-koA: 511_358 #
####################
# test
export DATASET_ID=test
export DIRECTION="enA-koA"
export LINE_NO_START=0
export LINE_NO_END=10
python fetch_dataset_s2s.py
# main
for i in $(seq 1 100);
do
  export N_POOL=15
  export DATASET_ID=${i}
  export DIRECTION="enA-koA"
  export LINE_NO_START=$(((DATASET_ID-1) * 2500))
  export LINE_NO_END=$((DATASET_ID * 2500))
  echo ${LINE_NO_START}
  python fetch_dataset_s2s.py
done
# tokenize
for i in $(seq 1 100);
do
  export N_POOL=15
  export DATASET_ID=${i}
  export DIRECTION="enA-koA"
  export LINE_NO_START=$(((DATASET_ID-1) * 2500))
  export LINE_NO_END=$((DATASET_ID * 2500))
  echo ${LINE_NO_START}
  python tokenize_dataset_s2s.py
done
# speaker embedding
export SE_MODEL="metavoice"
export SE_MODEL="hubert-xl"
export SE_MODEL="xlsr-2b"
export SE_MODEL="w2vbert-600m"
for i in $(seq 1 100);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-koA"
  python attach_speaker_embedding_s2s.py
done

######################
# enA-zhA: 1_289_192 #
######################
# test
export DATASET_ID=test
export DIRECTION="enA-zhA"
export LINE_NO_START=0
export LINE_NO_END=10
python fetch_dataset_s2s.py
# main
for i in $(seq 1 258);
do
  export N_POOL=15
  export DATASET_ID=${i}
  export DIRECTION="enA-zhA"
  export LINE_NO_START=$(((DATASET_ID-1) * 2500))
  export LINE_NO_END=$((DATASET_ID * 2500))
  echo ${LINE_NO_START}
  python fetch_dataset_s2s.py
done
# tokenize
for i in $(seq 1 258);
do
  export N_POOL=15
  export DATASET_ID=${i}
  export DIRECTION="enA-zhA"
  export LINE_NO_START=$(((DATASET_ID-1) * 2500))
  export LINE_NO_END=$((DATASET_ID * 2500))
  echo ${LINE_NO_START}
  python tokenize_dataset_s2s.py
done
# speaker embedding
export SE_MODEL="metavoice"
export SE_MODEL="hubert-xl"
export SE_MODEL="xlsr-2b"
export SE_MODEL="w2vbert-600m"
for i in $(seq 1 258);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-zhA"
  python attach_speaker_embedding_s2s.py
done

####################
# enA-jaA: 718_606 #
####################
# test
export DATASET_ID=test
export DIRECTION="enA-jaA"
export LINE_NO_START=0
export LINE_NO_END=10
python fetch_dataset_s2s.py
# main
for i in $(seq 1 144);
do
  export N_POOL=15
  export DATASET_ID=${i}
  export DIRECTION="enA-jaA"
  export LINE_NO_START=$(((DATASET_ID-1) * 2500))
  export LINE_NO_END=$((DATASET_ID * 2500))
  echo ${LINE_NO_START}
  python fetch_dataset_s2s.py
done
# tokenize
for i in $(seq 1 144);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-jaA"
  python tokenize_dataset_s2s.py
done
# speaker embedding
export SE_MODEL="metavoice"
export SE_MODEL="hubert-xl"
export SE_MODEL="xlsr-2b"
export SE_MODEL="w2vbert-600m"
for i in $(seq 1 144);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-jaA"
  python attach_speaker_embedding_s2s.py
done

####################
# enA-viA: 740_598 #
####################
# test
export DATASET_ID=test
export DIRECTION="enA-viA"
export LINE_NO_START=0
export LINE_NO_END=10
python fetch_dataset_s2s.py
# main
for i in $(seq 1 149);
do
  export N_POOL=15
  export DATASET_ID=${i}
  export DIRECTION="enA-viA"
  export LINE_NO_START=$(((DATASET_ID-1) * 2500))
  export LINE_NO_END=$((DATASET_ID * 2500))
  echo ${LINE_NO_START}
  python fetch_dataset_s2s.py
done
# tokenize
for i in $(seq 1 149);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-viA"
  python tokenize_dataset_s2s.py
done
# speaker embedding
export SE_MODEL="metavoice"
export SE_MODEL="hubert-xl"
export SE_MODEL="xlsr-2b"
export SE_MODEL="w2vbert-600m"
for i in $(seq 1 149);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-viA"
  python attach_speaker_embedding_s2s.py
done

####################
# enA-hiA: 454_942 #
####################
# test
export DATASET_ID=test
export DIRECTION="enA-hiA"
export LINE_NO_START=0
export LINE_NO_END=10
python fetch_dataset_s2s.py
# main
for i in $(seq 1 91);
do
  export N_POOL=15
  export DATASET_ID=${i}
  export DIRECTION="enA-hiA"
  export LINE_NO_START=$(((DATASET_ID-1) * 2500))
  export LINE_NO_END=$((DATASET_ID * 2500))
  echo ${LINE_NO_START}
  python fetch_dataset_s2s.py
done
# tokenize
for i in $(seq 1 91);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-hiA"
  python tokenize_dataset_s2s.py
done
# speaker embedding
export SE_MODEL="metavoice"
export SE_MODEL="hubert-xl"
export SE_MODEL="xlsr-2b"
export SE_MODEL="w2vbert-600m"
for i in $(seq 1 91);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-hiA"
  python attach_speaker_embedding_s2s.py
done