Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
music-demixing-challenge-starter-kit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
yoyololicon
music-demixing-challenge-starter-kit
Commits
8c701858
Commit
8c701858
authored
3 years ago
by
chinyun_yu_joey
Browse files
Options
Downloads
Patches
Plain Diff
train demucs split with normalization
parent
409bab15
No related branches found
Branches containing commit
Tags
submission-demucs-split
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
aicrowd.json
+7
-7
7 additions, 7 deletions
aicrowd.json
models/demucs_split.pth
+2
-2
2 additions, 2 deletions
models/demucs_split.pth
test_demucs.py
+2
-1
2 additions, 1 deletion
test_demucs.py
with
11 additions
and
10 deletions
aicrowd.json
+
7
−
7
View file @
8c701858
{
{
"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"
:
tru
e
"external_dataset_used"
:
fals
e
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
models/demucs_split.pth
LFS
+
2
−
2
View file @
8c701858
No preview for this file type
This diff is collapsed.
Click to expand it.
test_demucs.py
+
2
−
1
View file @
8c701858
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment