嘉渊 2 лет назад
Родитель
Сommit
9611e07e39
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      funasr/models/specaug/specaug.py

+ 1 - 1
funasr/models/specaug/specaug.py

@@ -99,7 +99,7 @@ class SpecAug(AbsSpecAug):
             x, x_lengths = self.time_mask(x, x_lengths)
         return x, x_lengths
 
-class SpecAugLFR(torch.nn.Module):
+class SpecAugLFR(AbsSpecAug):
     """Implementation of SpecAug.
     lfr_rate:low frame rate
     """