format
This commit is contained in:
+2
-7
@@ -18,15 +18,13 @@ try:
|
||||
except Exception: # pylint: disable=broad-exception-caught
|
||||
pass
|
||||
import logging
|
||||
from time import time as ttime
|
||||
|
||||
import torch.nn as nn
|
||||
import torch.nn.functional as F
|
||||
from librosa.filters import mel
|
||||
from librosa.util import normalize, pad_center, tiny
|
||||
from scipy.signal import get_window
|
||||
from librosa.filters import mel
|
||||
|
||||
from time import time as ttime
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@@ -161,7 +159,6 @@ class STFT(torch.nn.Module):
|
||||
return reconstruction
|
||||
|
||||
|
||||
|
||||
class BiGRU(nn.Module):
|
||||
def __init__(self, input_features, hidden_features, num_layers):
|
||||
super(BiGRU, self).__init__()
|
||||
@@ -415,8 +412,6 @@ class E2E(nn.Module):
|
||||
return x
|
||||
|
||||
|
||||
|
||||
|
||||
class MelSpectrogram(torch.nn.Module):
|
||||
def __init__(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user