@@ -194,12 +194,12 @@ def __init__(
194194 noise_ratio : float = 0.95 ,
195195 reverb_ratio : float = 0.95 ,
196196 applause_ratio : float = 0.01 ,
197- bandpass_ratio : float = 0.15 ,
197+ bandpass_ratio : float = 0.15 ,
198198 distort_ratio : float = 0.15 ,
199199 reduce_ratio : float = 0.01 ,
200- detune_ratio : float = 0.1 ,
201- detune_max_shift : float = 0.15 ,
202- spec_aug_ratio : float = 0.5 ,
200+ detune_ratio : float = 0.1 ,
201+ detune_max_shift : float = 0.15 ,
202+ spec_aug_ratio : float = 0.5 ,
203203 ):
204204 super ().__init__ ()
205205 self .tokenizer = AmtTokenizer ()
@@ -269,18 +269,18 @@ def __init__(
269269 time_mask_param = 1000 , iid_masks = True
270270 ),
271271 )
272-
272+
273273 def get_params (self ):
274274 return {
275- "noise_ratio" : self .noise_ratio ,
276- "reverb_ratio" : self .reverb_ratio ,
277- "applause_ratio" : self .applause_ratio ,
278- "bandpass_ratio" : self .bandpass_ratio ,
279- "distort_ratio" : self .distort_ratio ,
280- "reduce_ratio" : self .reduce_ratio ,
281- "detune_ratio" : self .detune_ratio ,
282- "detune_max_shift" : self .detune_max_shift ,
283- "spec_aug_ratio" : self .spec_aug_ratio ,
275+ "noise_ratio" : self .noise_ratio ,
276+ "reverb_ratio" : self .reverb_ratio ,
277+ "applause_ratio" : self .applause_ratio ,
278+ "bandpass_ratio" : self .bandpass_ratio ,
279+ "distort_ratio" : self .distort_ratio ,
280+ "reduce_ratio" : self .reduce_ratio ,
281+ "detune_ratio" : self .detune_ratio ,
282+ "detune_max_shift" : self .detune_max_shift ,
283+ "spec_aug_ratio" : self .spec_aug_ratio ,
284284 }
285285
286286 def _get_paths (self , dir_path ):
0 commit comments