Skip to content

Commit

Permalink
formating
Browse files Browse the repository at this point in the history
  • Loading branch information
Max-Ryujin committed Dec 8, 2023
1 parent d37fe95 commit 1a74337
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
46 changes: 23 additions & 23 deletions users/vieting/experiments/switchboard/ctc/feat/experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -805,43 +805,43 @@ def run_scf_audio_perturbation_gridsearch():
}

speeds = [
# {"prob": 0.6, "minimum": 0.9, "maximum": 1.1},
# {"prob": 0.6, "minimum": 0.8, "maximum": 1.2},
# {"prob": 0.6, "minimum": 0.7, "maximum": 1.3},
{"prob": 0.6, "minimum": 0.9, "maximum": 1.1},
{"prob": 0.6, "minimum": 0.8, "maximum": 1.2},
{"prob": 0.6, "minimum": 0.7, "maximum": 1.3},
{"prob": 0.5, "minimum": 0.9, "maximum": 1.1},
# {"prob": 0.5, "minimum": 0.8, "maximum": 1.2},
# {"prob": 0.5, "minimum": 0.7, "maximum": 1.3},
# {"prob": 0.4, "minimum": 0.9, "maximum": 1.1},
# {"prob": 0.4, "minimum": 0.8, "maximum": 1.2},
# {"prob": 0.4, "minimum": 0.7, "maximum": 1.3},
{"prob": 0.5, "minimum": 0.8, "maximum": 1.2},
{"prob": 0.5, "minimum": 0.7, "maximum": 1.3},
{"prob": 0.4, "minimum": 0.9, "maximum": 1.1},
{"prob": 0.4, "minimum": 0.8, "maximum": 1.2},
{"prob": 0.4, "minimum": 0.7, "maximum": 1.3},
]

tempos = [
# {"prob": 0.4, "minimum": 0.9, "maximum": 1.1},
# {"prob": 0.4, "minimum": 0.8, "maximum": 1.2},
# {"prob": 0.4, "minimum": 0.7, "maximum": 1.3},
{"prob": 0.4, "minimum": 0.9, "maximum": 1.1},
{"prob": 0.4, "minimum": 0.8, "maximum": 1.2},
{"prob": 0.4, "minimum": 0.7, "maximum": 1.3},
{"prob": 0.5, "minimum": 0.9, "maximum": 1.1},
# {"prob": 0.5, "minimum": 0.8, "maximum": 1.2},
# {"prob": 0.5, "minimum": 0.7, "maximum": 1.3},
# {"prob": 0.6, "minimum": 0.9, "maximum": 1.1},
# {"prob": 0.6, "minimum": 0.8, "maximum": 1.2},
# {"prob": 0.6, "minimum": 0.7, "maximum": 1.3},
{"prob": 0.5, "minimum": 0.8, "maximum": 1.2},
{"prob": 0.5, "minimum": 0.7, "maximum": 1.3},
{"prob": 0.6, "minimum": 0.9, "maximum": 1.1},
{"prob": 0.6, "minimum": 0.8, "maximum": 1.2},
{"prob": 0.6, "minimum": 0.7, "maximum": 1.3},
]
preemphases = [
# {"prob": 0.9, "minimum": 0.9, "maximum": 1.0},
{"prob": 0.9, "minimum": 0.9, "maximum": 1.0},
{"prob": 0.9, "minimum": 0.8, "maximum": 1.0},
# {"prob": 0.8, "minimum": 0.9, "maximum": 1.0},
# {"prob": 0.8, "minimum": 0.8, "maximum": 1.0},
{"prob": 0.8, "minimum": 0.9, "maximum": 1.0},
{"prob": 0.8, "minimum": 0.8, "maximum": 1.0},
]
codecs = [
{"encoding": "ULAW", "prob": 0.4},
# {"encoding": "ULAW", "prob": 0.6},
{"encoding": "ULAW", "prob": 0.6},
]
non_linearities = [
# {"prob": 0.4, "alpha": 0.2},
{"prob": 0.4, "alpha": 0.2},
{"prob": 0.4, "alpha": 0.4},
# {"prob": 0.6, "alpha": 0.2},
# {"prob": 0.6, "alpha": 0.4},
{"prob": 0.6, "alpha": 0.2},
{"prob": 0.6, "alpha": 0.4},
]

nn_base_args = {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from typing import List, Dict, Optional, Any
import inspect


class PerturbationFactor:
"""
Class to wrap perturbation factors, e.g. for speed or tempo perturbation.
Expand Down

0 comments on commit 1a74337

Please sign in to comment.