Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add musdb18 recipe for music source separation#5338

Merged
sw005320 merged 6 commits intoespnet:masterfrom
Emrys365:tse
Jul 23, 2023
Merged

Add musdb18 recipe for music source separation#5338
sw005320 merged 6 commits intoespnet:masterfrom
Emrys365:tse

Conversation

@Emrys365
Copy link
Collaborator

@Emrys365 Emrys365 commented Jul 22, 2023

This PR adds a new recipe for music source separation.

I followed the musdb package to obtain the training-validation splits.

@Emrys365 Emrys365 added Recipe ESPnet2 SE Speech enhancement labels Jul 22, 2023
@mergify mergify bot added the README label Jul 22, 2023
@codecov
Copy link

codecov bot commented Jul 22, 2023

Codecov Report

Merging #5338 (255570b) into master (a4c84c5) will decrease coverage by 0.10%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5338      +/-   ##
==========================================
- Coverage   76.21%   76.11%   -0.10%     
==========================================
  Files         669      672       +3     
  Lines       59565    59859     +294     
==========================================
+ Hits        45395    45563     +168     
- Misses      14170    14296     +126     
Flag Coverage Δ
test_configuration_espnet2 ∅ <ø> (?)
test_integration_espnet1 65.93% <ø> (-0.04%) ⬇️
test_integration_espnet2 47.92% <ø> (-0.11%) ⬇️
test_python ?
test_python_espnet1 20.51% <ø> (?)
test_python_espnet2 51.35% <ø> (?)
test_utils 23.17% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 15 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sw005320 sw005320 requested a review from ftshijt July 22, 2023 19:14
@sw005320 sw005320 added this to the v.202307 milestone Jul 22, 2023
@sw005320 sw005320 added the Music Music processing label Jul 22, 2023

if [ $nchannels -eq 1 ]; then
log "Use single channel audios"
elif [ $nchannels -eq 1 ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be -eq 2, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh thanks for noticing that! I have fixed it.

Copy link
Collaborator

@ftshijt ftshijt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! A minor suggestion as follows:

Comment on lines +151 to +154
sed -e "s#/mixture.wav#/drums.wav#g" "${cdir}/data/${dset}/wav.scp" > "${cdir}/data/${dset}/spk1.scp"
sed -e "s#/mixture.wav#/bass.wav#g" "${cdir}/data/${dset}/wav.scp" > "${cdir}/data/${dset}/spk2.scp"
sed -e "s#/mixture.wav#/vocals.wav#g" "${cdir}/data/${dset}/wav.scp" > "${cdir}/data/${dset}/spk3.scp"
sed -e "s#/mixture.wav#/other.wav#g" "${cdir}/data/${dset}/wav.scp" > "${cdir}/data/${dset}/spk4.scp"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to add a readme in this recipe, where we can discuss the mapping

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Emrys365, please do so in your follow up PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.

@sw005320 sw005320 merged commit 3ae1280 into espnet:master Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants