This commit is contained in:
语帆 2024-02-23 17:01:41 +08:00
parent 6a8c943435
commit 5130d2406d

View File

@ -48,6 +48,7 @@ class DefaultFrontend(nn.Module):
# Deepcopy (In general, dict shouldn't be used as default arg)
frontend_conf = copy.deepcopy(frontend_conf)
self.hop_length = hop_length
self.fs = fs
if apply_stft:
self.stft = Stft(