File size: 12,196 Bytes
8f901c2
 
 
54f280d
 
8f901c2
54f280d
 
 
 
8f901c2
c76e8c8
 
 
8f901c2
54f280d
 
 
 
 
8f901c2
a5f4f1e
c76e8c8
a5f4f1e
8f901c2
c76e8c8
 
 
8f901c2
c76e8c8
8f901c2
c76e8c8
 
 
8f901c2
c76e8c8
 
 
8f901c2
60b11b1
8f901c2
2ace478
 
 
ea85278
2ace478
 
 
 
 
8f901c2
 
2ace478
c76e8c8
2ace478
ea85278
c76e8c8
 
 
8f901c2
268df96
8f901c2
54f280d
 
 
c76e8c8
 
 
 
8f901c2
c76e8c8
8f901c2
c76e8c8
 
 
 
54f280d
 
 
8f901c2
4a04b75
8f901c2
4f70466
c76e8c8
4f70466
c76e8c8
 
 
 
4f70466
 
ea85278
8f901c2
ea85278
 
 
 
 
 
8f901c2
2ace478
c76e8c8
2ace478
c76e8c8
 
 
 
2ace478
 
268df96
ea85278
c76e8c8
 
 
 
 
ea85278
 
c76e8c8
 
 
54f280d
 
c76e8c8
54f280d
 
 
4a04b75
85389e6
4a04b75
 
 
c76e8c8
4a04b75
 
 
 
 
c76e8c8
4a04b75
 
 
c76e8c8
4a04b75
 
 
 
 
8f901c2
4a04b75
 
 
c76e8c8
4a04b75
 
 
8f901c2
c76e8c8
8f901c2
 
 
 
 
 
 
 
 
 
 
 
c76e8c8
 
 
 
 
 
 
 
 
 
ea85278
c76e8c8
 
 
 
 
 
ea85278
c76e8c8
 
 
 
4a04b75
54f280d
c76e8c8
54f280d
 
 
c76e8c8
54f280d
 
 
4a04b75
8f901c2
4a04b75
 
 
c76e8c8
4f70466
 
 
 
 
8f901c2
ea85278
 
 
 
 
 
 
 
 
85389e6
ea85278
 
 
 
 
 
 
 
 
85389e6
4f70466
 
 
c76e8c8
4a04b75
 
 
 
 
c76e8c8
f2fac11
 
 
 
 
 
 
 
 
 
 
 
c76e8c8
 
 
8f901c2
c76e8c8
8f901c2
 
 
 
 
 
c76e8c8
 
 
 
 
 
 
ea85278
85389e6
8f901c2
85389e6
ea85278
 
8f901c2
ea85278
 
 
 
8f901c2
ea85278
 
 
8f901c2
ea85278
 
 
 
 
 
8f901c2
ea85278
8f901c2
ea85278
8f901c2
 
 
 
ea85278
 
 
00f97de
8f901c2
 
85389e6
8f901c2
ea85278
 
8f901c2
ea85278
 
f18b743
8f901c2
 
c76e8c8
 
8f901c2
 
c76e8c8
8f901c2
c76e8c8
 
8f901c2
 
c76e8c8
8f901c2
 
85389e6
8f901c2
c76e8c8
 
8f901c2
c76e8c8
 
f18b743
8f901c2
f18b743
 
8f901c2
 
 
 
 
 
 
f18b743
 
8f901c2
 
 
 
 
 
 
 
 
85389e6
 
 
 
54f280d
 
85389e6
54f280d
 
 
4578bc8
85389e6
4578bc8
 
 
85389e6
4578bc8
 
 
 
 
c76e8c8
85389e6
c76e8c8
85389e6
c76e8c8
85389e6
 
 
 
c76e8c8
 
 
00f97de
 
8f901c2
 
f18b743
c76e8c8
 
85389e6
c76e8c8
 
85389e6
8f901c2
e7cdb68
 
 
8f901c2
 
e7cdb68
 
 
8f901c2
 
 
 
 
c76e8c8
85389e6
c76e8c8
 
 
85389e6
c76e8c8
 
 
 
85389e6
4578bc8
 
 
85389e6
4578bc8
 
 
 
c76e8c8
 
85389e6
c76e8c8
 
85389e6
c76e8c8
 
 
00f97de
 
85389e6
8f901c2
85389e6
c76e8c8
 
85389e6
c76e8c8
85389e6
f18b743
8f901c2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f18b743
8f901c2
 
 
f18b743
 
8f901c2
f18b743
 
 
8f901c2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f18b743
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
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
######################
# 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 115 200);
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
for i in $(seq 443 500);
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
for i in $(seq 519 550);
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
for i in $(seq 551 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 61 145);
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
for i in $(seq 200 299);
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
for i in $(seq 426 450);
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
for i in $(seq 500 530);
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
for i in $(seq );
do
  export DATASET_ID=${i}
  export DIRECTION="enA-frA"
  python attach_speaker_embedding_s2s.py
done
# tokenize
for i in $(seq 106 425);
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
for i in $(seq 361 425);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-frA"
  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 136 200);
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
for i in $(seq 201 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
for i in $(seq 73 91);
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 73 91);
#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
for i in $(seq 105 180);
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
for i in $(seq 28 104);
do
  export DATASET_ID=${i}
  export DIRECTION="deA-enA"
  python attach_speaker_embedding_s2s.py
done
# speaker embedding
for i in $(seq 370 394);
do
  export DATASET_ID=${i}
  export DIRECTION="deA-enA"
  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 194 220);
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
for i in $(seq 220 250);
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
for i in $(seq 333 420);
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
for i in $(seq 434 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 50);
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
for i in $(seq 251 280);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-esA"
  python attach_speaker_embedding_s2s.py
done

export SE_MODEL="w2vbert-600m"  # running
export SE_MODEL="xlsr-2b"  # running
export SE_MODEL="hubert-xl"
export SE_MODEL="metavoice"
for i in $(seq 26 125);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-esA"
  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 76 98);
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="w2vbert-600m"  # running
export SE_MODEL="xlsr-2b"  # running
export SE_MODEL="hubert-xl"
for i in $(seq 1 90);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-koA"
  python attach_speaker_embedding_s2s.py
done

export SE_MODEL="metavoice"
for i in 65 50;
do
  export DATASET_ID=${i}
  export DIRECTION="enA-koA"
  python attach_speaker_embedding_s2s.py
done
for i in $(seq 90 98);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-koA"
  python attach_speaker_embedding_s2s.py
done

# todo
export SE_MODEL="hubert-xl"
for i in $(seq 1 98);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-koA"
  python attach_speaker_embedding_s2s.py
done
export SE_MODEL="w2vbert-600m"
for i in $(seq 90 98);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-koA"
  python attach_speaker_embedding_s2s.py
done
for i in 34 49 50 87 88;
do
  export DATASET_ID=${i}
  export DIRECTION="enA-koA"
  python attach_speaker_embedding_s2s.py
done
export SE_MODEL="xlsr-2b"
for i in $(seq 90 98);
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="w2vbert-600m"
export SE_MODEL="hubert-xl"  # running
export SE_MODEL="xlsr-2b"  # running
for i in $(seq 1 258);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-zhA"
  python attach_speaker_embedding_s2s.py
done

export SE_MODEL="hubert-xl"  # running
export DATASET_ID=167
export DIRECTION="enA-zhA"
python attach_speaker_embedding_s2s.py

export SE_MODEL="w2vbert-600m"  # running
export DATASET_ID=165
export DIRECTION="enA-zhA"
python attach_speaker_embedding_s2s.py





####################
# 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="w2vbert-600m"
export SE_MODEL="hubert-xl"
export SE_MODEL="xlsr-2b"  # running
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="w2vbert-600m"
export SE_MODEL="hubert-xl"
export SE_MODEL="xlsr-2b"
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="w2vbert-600m"
export SE_MODEL="hubert-xl"
export SE_MODEL="xlsr-2b"  # running
for i in $(seq 1 91);
do
  export DATASET_ID=${i}
  export DIRECTION="enA-hiA"
  python attach_speaker_embedding_s2s.py
done