Rename to paddleaudio.

pull/938/head
KP 3 years ago
parent e675619477
commit ee9972a0d3

@ -17,6 +17,7 @@ from typing import List
import numpy as np
import paddle
from paddleaudio.backends import load as load_audio
from paddleaudio.features import melspectrogram
from paddleaudio.models.panns import cnn14

@ -17,6 +17,7 @@ import os
from typing import Dict
import numpy as np
from paddleaudio.utils import logger
# yapf: disable

@ -16,10 +16,11 @@ import os
import numpy as np
from paddle import inference
from scipy.special import softmax
from paddleaudio.backends import load as load_audio
from paddleaudio.datasets import ESC50
from paddleaudio.features import melspectrogram
from scipy.special import softmax
# yapf: disable
parser = argparse.ArgumentParser()

@ -16,6 +16,7 @@ import os
import paddle
from model import SoundClassifier
from paddleaudio.datasets import ESC50
from paddleaudio.models.panns import cnn14

@ -17,6 +17,7 @@ import numpy as np
import paddle
import paddle.nn.functional as F
from model import SoundClassifier
from paddleaudio.backends import load as load_audio
from paddleaudio.datasets import ESC50
from paddleaudio.features import melspectrogram

@ -16,6 +16,7 @@ import os
import paddle
from model import SoundClassifier
from paddleaudio.datasets import ESC50
from paddleaudio.models.panns import cnn14
from paddleaudio.utils import logger

@ -15,6 +15,7 @@ from typing import List
import numpy as np
from numpy import ndarray as array
from paddleaudio.backends import depth_convert
from paddleaudio.utils import ParameterError

@ -20,9 +20,10 @@ import numpy as np
import scipy
from numpy import ndarray as array
from numpy.lib.stride_tricks import as_strided
from paddleaudio.utils import ParameterError
from scipy.signal import get_window
from paddleaudio.utils import ParameterError
__all__ = [
'stft',
'mfcc',

@ -13,9 +13,10 @@
# limitations under the License.
import librosa
import numpy as np
import paddleaudio
import pytest
import paddleaudio
TEST_FILE = './test/data/test_audio.wav'

@ -13,9 +13,10 @@
# limitations under the License.
import librosa
import numpy as np
import paddleaudio as pa
import pytest
import paddleaudio as pa
@pytest.mark.filterwarnings("ignore::DeprecationWarning")
def load_audio():
Loading…
Cancel
Save