mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-30 20:24:31 +00:00
remove debugging residuals
This commit is contained in:
@@ -148,16 +148,11 @@ 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,
|
||||
|
||||
@@ -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, '--verbose'])
|
||||
arguments = p.parse_args(["evaluate", "-p", "spleeter:4stems", "--mus_dir", path])
|
||||
params = load_configuration(arguments.configuration)
|
||||
metrics = evaluate.entrypoint(arguments, params)
|
||||
for instrument, metric in metrics.items():
|
||||
|
||||
Reference in New Issue
Block a user