test: add unit test for audio adapter

fix: import issues
This commit is contained in:
Félix Voituret
2019-11-08 18:01:47 -05:00
parent c4d1343897
commit d19c13bf66
5 changed files with 84 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ import tensorflow as tf
from tensorflow.contrib.signal import stft, hann_window
# pylint: enable=import-error
from ..logging import get_logger
from ..utils.logging import get_logger
__email__ = 'research@deezer.com'
__author__ = 'Deezer Research'

View File

@@ -8,7 +8,7 @@ import numpy as np
import tensorflow as tf
# pylint: enable=import-error
from ..tensor import from_float32_to_uint8, from_uint8_to_float32
from ..utils.tensor import from_float32_to_uint8, from_uint8_to_float32
__email__ = 'research@deezer.com'
__author__ = 'Deezer Research'

View File

@@ -16,7 +16,7 @@ import numpy as np
# pylint: enable=import-error
from .adapter import AudioAdapter
from ..logging import get_logger
from ..utils.logging import get_logger
__email__ = 'research@deezer.com'
__author__ = 'Deezer Research'