Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 21, 2024
1 parent 7888873 commit b8d56cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion egs2/TEMPLATE/asr1/pyscripts/feats/ssl_feature_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def __init__(
max_chunk=1600000,
use_gpu=True,
):
self.sample_rate = int(sample_rate) # str->int
self.sample_rate = int(sample_rate) # str->int
self.audio_sample_rate = audio_sample_rate
if self.sample_rate != self.audio_sample_rate:
logging.warning("The audio sample rate is different from feat extractor")
Expand Down
2 changes: 1 addition & 1 deletion egs2/TEMPLATE/tts2/tts2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ if ! "${skip_data_prep}"; then
s3prl_conf="{upstream=${s3prl_upstream_name}}"
kmeans_feature_type=s3prl
kmeans_feature_conf="{type=${kmeans_feature_type},conf={s3prl_conf=${s3prl_conf},download_dir=ckpt,multilayer_feature=False,layer=${feature_layer}}}"
# (zh hubert), the arguments we used on aishell3
# (zh hubert), the arguments we used on aishell3
# s3prl_conf="{upstream=${s3prl_upstream_name},path_or_url=TencentGameMate/chinese-hubert-large}"
# kmeans_feature_type=s3prl
# kmeans_feature_conf={type=${kmeans_feature_type},conf={s3prl_conf=${s3prl_conf},download_dir=ckpt,multilayer_feature=False,layer=${feature_layer}}}
Expand Down

0 comments on commit b8d56cf

Please sign in to comment.