Skip to content

Commit

Permalink
'update'
Browse files Browse the repository at this point in the history
  • Loading branch information
goddamnVincent committed Nov 27, 2024
1 parent 51efa14 commit 9b83052
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 21 deletions.
3 changes: 0 additions & 3 deletions .idea/.gitignore

This file was deleted.

7 changes: 1 addition & 6 deletions .idea/icefall.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

52 changes: 52 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def get_parser():
default=80,
help="""The number of mel bins for Fbank""",
)
# 修改: 添加 指定参数 speed-perturb

parser.add_argument(
"--speed-perturb",
type=bool,
Expand Down Expand Up @@ -109,7 +109,7 @@ def compute_fbank_kespeech_dev_test(args):
cut_set = cut_set.trim_to_supervisions(
keep_overlapping=False, min_duration=None
)
# 修改 执行 perturb操作

if speed_perturb:
cut_set = (
cut_set + cut_set.perturb_speed(0.9) + cut_set.perturb_speed(1.1)
Expand Down
4 changes: 2 additions & 2 deletions egs/multi_zh-hans/ASR/local/compute_fbank_kespeech_splits.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def get_parser():
default=False,
help="Use WhisperFbank instead of Fbank. Default: False.",
)
#修改: 添加 指定参数 speed-perturb

parser.add_argument(
"--speed-perturb",
type=bool,
Expand Down Expand Up @@ -170,7 +170,7 @@ def compute_fbank_kespeech_splits(args):
cut_set = cut_set.trim_to_supervisions(
keep_overlapping=False, min_duration=None
)
# 修改 执行 perturb操作

if speed_perturb:
cut_set = (
cut_set + cut_set.perturb_speed(0.9) + cut_set.perturb_speed(1.1)
Expand Down

0 comments on commit 9b83052

Please sign in to comment.