-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #357 from wenet-e2e/hongji-fix
[recipe] fix errors in voxceleb/v1/Whisper-PMFA
- Loading branch information
Showing
10 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,20 @@ | ||
#!/bin/bash | ||
|
||
# Copyright 2022 Hongji Wang ([email protected]) | ||
# 2022 Chengdong Liang ([email protected]) | ||
# 2022 Zhengyang Chen ([email protected]) | ||
# Copyright 2024 Yiyang Zhao ([email protected]) | ||
# 2024 Hongji Wang ([email protected]) | ||
|
||
. ./path.sh || exit 1 | ||
|
||
stage=3 | ||
stop_stage=3 | ||
stage=-1 | ||
stop_stage=-1 | ||
|
||
data=data | ||
data_type="raw" # shard/raw | ||
model=whisper_PMFA_large_v2 | ||
|
||
exp_dir=exp/Whisper_PMFA_large_v2_voxceleb1_mel_5s | ||
|
||
gpus="[0]" | ||
num_avg=10 | ||
gpus="[0,1]" | ||
num_avg=1 | ||
checkpoint= | ||
|
||
trials="vox1_O_cleaned.kaldi" | ||
|
@@ -25,6 +23,9 @@ score_norm_method="asnorm" # asnorm/snorm | |
top_n=300 | ||
|
||
. tools/parse_options.sh || exit 1 | ||
if ! pip show openai-whisper > /dev/null 2>&1; then | ||
pip install openai-whisper==20231117 | ||
fi | ||
|
||
if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then | ||
echo "Preparing datasets ..." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
../../../../tools | ||
../../../../tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
../../../../wespeaker | ||
../../../../wespeaker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters