init
Browse files- attach_speaker_embedding_s2s.py +2 -2
- main_s2s.sh +8 -0
attach_speaker_embedding_s2s.py
CHANGED
@@ -21,8 +21,8 @@ elif se_model == "pyannote":
|
|
21 |
from speaker_embedding_pyannote import PyannoteSE
|
22 |
speaker_embedder = PyannoteSE()
|
23 |
elif se_model == "w2vbert-600m":
|
24 |
-
from speaker_embedding_hf import
|
25 |
-
speaker_embedder =
|
26 |
elif se_model == "xlsr-2b":
|
27 |
from speaker_embedding_hf import XLSR2BEmbedding
|
28 |
speaker_embedder = XLSR2BEmbedding()
|
|
|
21 |
from speaker_embedding_pyannote import PyannoteSE
|
22 |
speaker_embedder = PyannoteSE()
|
23 |
elif se_model == "w2vbert-600m":
|
24 |
+
from speaker_embedding_hf import W2VBERTEmbedding
|
25 |
+
speaker_embedder = W2VBERTEmbedding()
|
26 |
elif se_model == "xlsr-2b":
|
27 |
from speaker_embedding_hf import XLSR2BEmbedding
|
28 |
speaker_embedder = XLSR2BEmbedding()
|
main_s2s.sh
CHANGED
@@ -337,6 +337,8 @@ do
|
|
337 |
python tokenize_dataset_s2s.py
|
338 |
done
|
339 |
# speaker embedding
|
|
|
|
|
340 |
for i in $(seq 1 258);
|
341 |
do
|
342 |
export DATASET_ID=${i}
|
@@ -371,6 +373,8 @@ do
|
|
371 |
python tokenize_dataset_s2s.py
|
372 |
done
|
373 |
# speaker embedding
|
|
|
|
|
374 |
for i in $(seq 1 144);
|
375 |
do
|
376 |
export DATASET_ID=${i}
|
@@ -406,6 +410,8 @@ do
|
|
406 |
python tokenize_dataset_s2s.py
|
407 |
done
|
408 |
# speaker embedding
|
|
|
|
|
409 |
for i in $(seq 1 91);
|
410 |
do
|
411 |
export DATASET_ID=${i}
|
@@ -440,6 +446,8 @@ do
|
|
440 |
python tokenize_dataset_s2s.py
|
441 |
done
|
442 |
# speaker embedding
|
|
|
|
|
443 |
for i in $(seq 1 149);
|
444 |
do
|
445 |
export DATASET_ID=${i}
|
|
|
337 |
python tokenize_dataset_s2s.py
|
338 |
done
|
339 |
# speaker embedding
|
340 |
+
export SE_MODEL="metavoice"
|
341 |
+
export SE_MODEL="w2vbert-600m"
|
342 |
for i in $(seq 1 258);
|
343 |
do
|
344 |
export DATASET_ID=${i}
|
|
|
373 |
python tokenize_dataset_s2s.py
|
374 |
done
|
375 |
# speaker embedding
|
376 |
+
export SE_MODEL="metavoice"
|
377 |
+
export SE_MODEL="w2vbert-600m"
|
378 |
for i in $(seq 1 144);
|
379 |
do
|
380 |
export DATASET_ID=${i}
|
|
|
410 |
python tokenize_dataset_s2s.py
|
411 |
done
|
412 |
# speaker embedding
|
413 |
+
export SE_MODEL="metavoice"
|
414 |
+
export SE_MODEL="w2vbert-600m"
|
415 |
for i in $(seq 1 91);
|
416 |
do
|
417 |
export DATASET_ID=${i}
|
|
|
446 |
python tokenize_dataset_s2s.py
|
447 |
done
|
448 |
# speaker embedding
|
449 |
+
export SE_MODEL="metavoice"
|
450 |
+
export SE_MODEL="w2vbert-600m"
|
451 |
for i in $(seq 1 149);
|
452 |
do
|
453 |
export DATASET_ID=${i}
|