Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added documentation for data augmentation parameters #171

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions documentation/config_parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ If a parameter specifies a range, then it is always a length two list with the f
`freq_mask_param`: How many sequential pixels to mask in the FrequencyMasking augmentation\
`time_mask_param`: How many sequential pixels to mask in the TimeMasking augmentation\
`mixup_ceil_interval`: Rounding interval to the ceiling function applied to target in mixup
`mixup_num_clips_range`: Range for the number of clips to mix. Should be greater than 1\
`mixup_min_alpha`: Smallest alpha that can be assigned to a clip
`bg_noise_alpha_range`: Range for the alpha parameter of BackgroundNoise. The alpha parameter gives the strength of the other clip in the augmented clip after applying BackgroundNoise. Min/max values are between 0 and 1\
`rand_eq_f_range`: Range for the frequency parameter of RandomEQ. Min/max must be greater than zero\
Expand Down
16 changes: 8 additions & 8 deletions pyha_analyzer/default_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,21 +95,21 @@ highpass_p: 0.02
bg_noise_p: 0

# Data augmentation parameters
noise_type: "white"
noise_alpha: 0.05
freq_mask_param: 10 # Number of frequencies masked
time_mask_param: 25 # Number of samples masked
noise_type: "white"
noise_alpha: 0.05
freq_mask_param: 10
time_mask_param: 25
mixup_ceil_interval: 1.
mixup_num_clips_range: [1, 5]
mixup_min_alpha: 0.05
mixup_min_alpha: 0.05
rand_eq_f_range: [100, 8000]
rand_eq_q_range: [1, 9]
rand_eq_g_range: [-8, 8]
rand_eq_iters: 3
lowpass_cutoff: 15000
lowpass_q_val: 0.7
highpass_cutoff: 1000
highpass_q_val: 0.7
lowpass_q_val: 0.7
highpass_cutoff: 1000
highpass_q_val: 0.7
bg_noise_alpha_range: [0.1, 0.2]

# Background noise params
Expand Down