pull/1518/head
KP 3 years ago
parent c52f0f805b
commit f4c7205440

@ -17,8 +17,8 @@ from typing import Tuple
import paddle import paddle
from paddle import Tensor from paddle import Tensor
from ..functional import create_dct
from ..functional.window import get_window from ..functional.window import get_window
from .spectrum import create_dct
__all__ = [ __all__ = [
'spectrogram', 'spectrogram',

@ -15,10 +15,3 @@ from .esc50 import ESC50
from .gtzan import GTZAN from .gtzan import GTZAN
from .tess import TESS from .tess import TESS
from .urban_sound import UrbanSound8K from .urban_sound import UrbanSound8K
__all__ = [
'ESC50',
'UrbanSound8K',
'GTZAN',
'TESS',
]

@ -17,8 +17,8 @@ import numpy as np
import paddle import paddle
from ..backends import load as load_audio from ..backends import load as load_audio
from ..features import melspectrogram from ..compliance.librosa import melspectrogram
from ..features import mfcc from ..compliance.librosa import mfcc
feat_funcs = { feat_funcs = {
'raw': None, 'raw': None,

@ -11,6 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from .librosa import LogMelSpectrogram from .layers import LogMelSpectrogram
from .librosa import MelSpectrogram from .layers import MelSpectrogram
from .librosa import Spectrogram from .layers import MFCC
from .layers import Spectrogram

@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import mcd.metrics_fast as mt import mcd.metrics_fast as mt
import numpy as np
from mcd import dtw from mcd import dtw
__all__ = [ __all__ = [

Loading…
Cancel
Save