嘉渊 2 tahun lalu
induk
melakukan
9611e07e39
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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
     """