In [5]:
import numpy as np
from matplotlib import pyplot as plt
from matplotlib import style
import IPython.display
import os
import random
In [6]:
from python_speech_features import mfcc
from python_speech_features import logfbank
import scipy.io.wavfile as wav
In [7]:
random.seed(42)
In [8]:
style.use('ggplot')
%matplotlib inline
In [9]:
data_dir = '../data/esc-50'
sample_dir = os.path.join(data_dir, 'sample')
train_dir = os.path.join(data_dir, 'train')
test_dir = os.path.join(data_dir, 'test')
In [ ]: