Skip to content

Commit

Permalink
add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
LiChenda committed Aug 4, 2022
1 parent e6f333d commit d0117f7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions egs2/TEMPLATE/enh1/enh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@ if ! "${skip_train}"; then
# In current version, if you want to enable dynamic mixing in speech separation,
# you need to prepare the training set manually. Here we assume all speech sources
# are collected in "spk1.scp", and other scp files (wav.scp, spk{N}.scp) are not used.
log "Dynamic mixing is enabled, use spk1.scp as the source file list."
_scp=spk1.scp
else
_scp=wav.scp
Expand Down
5 changes: 5 additions & 0 deletions egs2/mini_an4/enh1/conf/train_with_dynamic_mixing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ separator_conf:
unit: 128
dropout: 0.2

# dynamic_mixing related
# dynamic_mixing_gain_db:
# The maximum random gain (in dB) for each source before the mixing.
# The gain (in dB) of each source is unifromly sampled in
# [-dynamic_mixing_gain_db, dynamic_mixing_gain_db]
dynamic_mixing: True
dynamic_mixing_gain_db: 2.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ scheduler_conf:
step_size: 2
gamma: 0.97

# dynamic_mixing related
# dynamic_mixing_gain_db:
# The maximum random gain (in dB) for each source before the mixing.
# The gain (in dB) of each source is unifromly sampled in
# [-dynamic_mixing_gain_db, dynamic_mixing_gain_db]
dynamic_mixing: True
dynamic_mixing_gain_db: 2.0

Expand Down

0 comments on commit d0117f7

Please sign in to comment.