pull/768/head
Hui Zhang 3 years ago
parent c484d537c2
commit d64cdc7838

@ -16,7 +16,7 @@
## 安装
在以下环境测试验证过:
在以下环境测试验证过:
* Ubuntu 16.04
* python>=3.7

@ -233,7 +233,7 @@ class U2Trainer(Trainer):
batch_frames_inout=0,
preprocess_conf=config.collator.augmentation_config,
n_iter_processes=config.collator.num_workers,
subsampling_factor=0,
subsampling_factor=1,
num_encs=1)
self.valid_loader = BatchDataLoader(

@ -64,7 +64,6 @@ class SpecAugmentor(AugmentorBase):
self.n_freq_masks = n_freq_masks
self.n_time_masks = n_time_masks
self.p = p
# adaptive SpecAugment
self.adaptive_number_ratio = adaptive_number_ratio
@ -120,7 +119,7 @@ class SpecAugmentor(AugmentorBase):
@property
def time_mask(self):
return self._time_mask
def __repr__(self):
return f"specaug: F-{F}, T-{T}, F-n-{n_freq_masks}, T-n-{n_time_masks}"

Loading…
Cancel
Save