mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-06 04:32:43 +00:00
replace mail
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,7 +1,7 @@
|
||||
# =======================================================
|
||||
# Library lifecycle management.
|
||||
#
|
||||
# @author Deezer Research <research@deezer.com>
|
||||
# @author Deezer Research <spleeter@deezer.com>
|
||||
# @licence MIT Licence
|
||||
# =======================================================
|
||||
|
||||
|
||||
4
setup.py
4
setup.py
@@ -8,7 +8,7 @@ import sys
|
||||
from os import path
|
||||
from setuptools import setup
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
@@ -33,7 +33,7 @@ setup(
|
||||
long_description=readme,
|
||||
long_description_content_type='text/markdown',
|
||||
author='Deezer Research',
|
||||
author_email='research@deezer.com',
|
||||
author_email='spleeter@deezer.com',
|
||||
url='https://github.com/deezer/spleeter',
|
||||
license='MIT License',
|
||||
packages=[
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
by providing train, evaluation and source separation action.
|
||||
"""
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ from .utils.logging import (
|
||||
enable_tensorflow_logging,
|
||||
get_logger)
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -10,6 +10,6 @@
|
||||
- Waveform convertion and transforming functions.
|
||||
"""
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
@@ -19,7 +19,7 @@ from tensorflow.contrib.signal import stft, hann_window
|
||||
from .. import SpleeterError
|
||||
from ..utils.logging import get_logger
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import tensorflow as tf
|
||||
|
||||
from ..utils.tensor import from_float32_to_uint8, from_uint8_to_float32
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ from .adapter import AudioAdapter
|
||||
from .. import SpleeterError
|
||||
from ..utils.logging import get_logger
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import tensorflow as tf
|
||||
from tensorflow.contrib.signal import stft, hann_window
|
||||
# pylint: enable=import-error
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ from argparse import ArgumentParser
|
||||
from tempfile import gettempdir
|
||||
from os.path import exists, join
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ except ImportError:
|
||||
logger.error('Please install musdb and museval first, abort')
|
||||
sys.exit(1)
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
@@ -148,11 +148,16 @@ def entrypoint(arguments, params):
|
||||
if not exists(musdb_root_directory):
|
||||
raise IOError(f'musdb directory {musdb_root_directory} not found')
|
||||
# Separate musdb sources.
|
||||
verbose = arguments.verbose
|
||||
if verbose:
|
||||
print("Separating audio files")
|
||||
audio_output_directory = _separate_evaluation_dataset(
|
||||
arguments,
|
||||
musdb_root_directory,
|
||||
params)
|
||||
# Compute metrics with musdb.
|
||||
if verbose:
|
||||
print("Compute Metrics with musdb")
|
||||
metrics_output_directory = _compute_musdb_metrics(
|
||||
arguments,
|
||||
musdb_root_directory,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
from ..audio.adapter import get_audio_adapter
|
||||
from ..separator import Separator
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ from ..model import model_fn
|
||||
from ..model.provider import ModelProvider
|
||||
from ..utils.logging import get_logger
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ from .utils.tensor import (
|
||||
set_tensor_shape,
|
||||
sync_apply)
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ from tensorflow.contrib.signal import stft, inverse_stft, hann_window
|
||||
|
||||
from ..utils.tensor import pad_and_partition, pad_and_reshape
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
""" This package provide model functions. """
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ from tensorflow.keras.layers import (
|
||||
|
||||
from . import apply
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ from tensorflow.compat.v1.keras.initializers import he_uniform
|
||||
|
||||
from . import apply
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ from abc import ABC, abstractmethod
|
||||
from os import environ, makedirs
|
||||
from os.path import exists, isabs, join, sep
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ import requests
|
||||
from . import ModelProvider
|
||||
from ...utils.logging import get_logger
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
|
||||
""" Packages that provides static resources file for the library. """
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
@@ -31,7 +31,7 @@ from .utils.estimator import create_estimator, to_predictor, get_default_model_d
|
||||
from .model import EstimatorSpecBuilder, InputProviderFactory
|
||||
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
|
||||
""" This package provides utility function and classes. """
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
@@ -16,7 +16,7 @@ from os.path import exists
|
||||
from .. import resources, SpleeterError
|
||||
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import logging
|
||||
|
||||
from os import environ
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import tensorflow as tf
|
||||
import pandas as pd
|
||||
# pylint: enable=import-error
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
|
||||
""" Unit testing package. """
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
""" Unit testing for Separator class. """
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
@@ -71,7 +71,7 @@ def generate_fake_eval_dataset(path):
|
||||
def test_evaluate(path="FAKE_MUSDB_DIR"):
|
||||
generate_fake_eval_dataset(path)
|
||||
p = create_argument_parser()
|
||||
arguments = p.parse_args(["evaluate", "-p", "spleeter:4stems", "--mus_dir", path])
|
||||
arguments = p.parse_args(["evaluate", "-p", "spleeter:4stems", "--mus_dir", path, '--verbose'])
|
||||
params = load_configuration(arguments.configuration)
|
||||
metrics = evaluate.entrypoint(arguments, params)
|
||||
for instrument, metric in metrics.items():
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
""" Unit testing for audio adapter. """
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
""" Unit testing for Separator class. """
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__email__ = 'spleeter@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user