Skip to content
Snippets Groups Projects
Commit 8c701858 authored by chinyun_yu_joey's avatar chinyun_yu_joey
Browse files

train demucs split with normalization

parent 409bab15
No related branches found
Tags submission-demucs-split
No related merge requests found
{ {
"challenge_id": "evaluations-api-music-demixing", "challenge_id": "evaluations-api-music-demixing",
"grader_id": "evaluations-api-music-demixing", "grader_id": "evaluations-api-music-demixing",
"authors": [ "authors": [
"yoyololicon" "yoyololicon"
], ],
"description": "Demucs with separated decoders", "description": "Demucs with separated decoders",
"external_dataset_used": true "external_dataset_used": false
} }
\ No newline at end of file
No preview for this file type
...@@ -12,7 +12,7 @@ def separate( ...@@ -12,7 +12,7 @@ def separate(
audio, audio,
rate, rate,
model, model,
shifts=1, shifts=6,
device="cpu" device="cpu"
): ):
...@@ -41,6 +41,7 @@ def separate( ...@@ -41,6 +41,7 @@ def separate(
y += shifted_y[j, ..., start:start + valid_length] y += shifted_y[j, ..., start:start + valid_length]
y /= shifts y /= shifts
y = y.clamp(-0.99, 0.99)
return y.numpy() return y.numpy()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment