Spaces:
Sleeping
Sleeping
Update stft.py
Browse files
stft.py
CHANGED
|
@@ -38,6 +38,8 @@ from scipy.signal import get_window
|
|
| 38 |
from librosa.util import pad_center, tiny
|
| 39 |
from audio_processing import window_sumsquare
|
| 40 |
|
|
|
|
|
|
|
| 41 |
|
| 42 |
class STFT(torch.nn.Module):
|
| 43 |
"""adapted from Prem Seetharaman's https://github.com/pseeth/pytorch-stft"""
|
|
|
|
| 38 |
from librosa.util import pad_center, tiny
|
| 39 |
from audio_processing import window_sumsquare
|
| 40 |
|
| 41 |
+
torch.manual_seed(1234)
|
| 42 |
+
|
| 43 |
|
| 44 |
class STFT(torch.nn.Module):
|
| 45 |
"""adapted from Prem Seetharaman's https://github.com/pseeth/pytorch-stft"""
|