aicrowd / music-demixing-challenge-starter-kit Goto Github PK
View Code? Open in Web Editor NEWStarter kit for getting started in the Music Demixing Challenge.
License: MIT License
Starter kit for getting started in the Music Demixing Challenge.
License: MIT License
we assume that the sample rates of the signals and the length of the references and estimates are the same. However often, users might not be aware of this and it would make sense to warn them already in the local test submission.
we have:
music-demixing-challenge-starter-kit/evaluator/music_demixing.py
Lines 95 to 96 in 4cd3be8
I think we should add
_
) these should the same (int(reference_rate) == int(estimate_rate)
)reference.shape == estimate.shape
)Hi,
I'm having trouble making a test submission using the repo.
I am working in a fresh nvcr.io/nvidia/cuda:11.3.0-cudnn8-runtime-centos8 docker image. Following that I have:
# Add AIcrowd git remote endpoint
git remote add aicrowd [email protected]:errorfixrepeat/music-demixing-challenge-starter-kit.git
git push aicrowd master
This gives me the error:
Enumerating objects: 186, done.
Counting objects: 100% (186/186), done.
Delta compression using up to 24 threads
Compressing objects: 100% (87/87), done.
Writing objects: 100% (186/186), 5.09 MiB | 1.79 MiB/s, done.
Total 186 (delta 90), reused 186 (delta 90)
remote: Resolving deltas: 100% (90/90), done.
remote: GitLab: LFS objects are missing. Ensure LFS is properly set up or try a manual "git lfs push --all".
To gitlab.aicrowd.com:errorfixrepeat/music-demixing-challenge-starter-kit.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:errorfixrepeat/music-demixing-challenge-starter-kit.git'
I get a RuntimeError when I run the fourth Try out random prediction codebase present in test.py.
in Setup.
I found that the format of the wav file in data/test was unknown.
I opened this wav file in audacity, but it showed up as a file of unknown format.
Is this wav file the correct one?
Sorry if this is my mistake.
The full text of the error is below.
> python3 test.py
Mixture file is present at following location: /home/shun/aicrowd/music-demixing-challenge-starter-kit/data/test/Mu - Too Bright/mixture.wav
Traceback (most recent call last):
File "/home/shun/aicrowd/music-demixing-challenge-starter-kit/evaluator/music_demixing.py", line 142, in run
self.evaluation()
File "/home/shun/aicrowd/music-demixing-challenge-starter-kit/evaluator/music_demixing.py", line 129, in evaluation
self.prediction(mixture_file_path=self.get_music_file_location(music_name),
File "test.py", line 52, in prediction
x, rate = sf.read(mixture_file_path) # mixture is stereo with sample rate of 44.1kHz
File "/home/shun/.local/share/virtualenvs/music-demixing-challenge-starter-kit-dMCFg2FA/lib/python3.8/site-packages/soundfile.py", line 256, in read
with SoundFile(file, 'r', samplerate, channels,
File "/home/shun/.local/share/virtualenvs/music-demixing-challenge-starter-kit-dMCFg2FA/lib/python3.8/site-packages/soundfile.py", line 629, in __init__
self._file = self._open(file, mode_int, closefd)
File "/home/shun/.local/share/virtualenvs/music-demixing-challenge-starter-kit-dMCFg2FA/lib/python3.8/site-packages/soundfile.py", line 1183, in _open
_error_check(_snd.sf_error(file_ptr),
File "/home/shun/.local/share/virtualenvs/music-demixing-challenge-starter-kit-dMCFg2FA/lib/python3.8/site-packages/soundfile.py", line 1357, in _error_check
raise RuntimeError(prefix + _ffi.string(err_str).decode('utf-8', 'replace'))
RuntimeError: Error opening '/home/shun/aicrowd/music-demixing-challenge-starter-kit/data/test/Mu - Too Bright/mixture.wav': File contains data in an unknown format.
Traceback (most recent call last):
File "test.py", line 64, in <module>
submission.run()
File "/home/shun/aicrowd/music-demixing-challenge-starter-kit/evaluator/music_demixing.py", line 148, in run
raise e
File "/home/shun/aicrowd/music-demixing-challenge-starter-kit/evaluator/music_demixing.py", line 142, in run
self.evaluation()
File "/home/shun/aicrowd/music-demixing-challenge-starter-kit/evaluator/music_demixing.py", line 129, in evaluation
self.prediction(mixture_file_path=self.get_music_file_location(music_name),
File "test.py", line 52, in prediction
x, rate = sf.read(mixture_file_path) # mixture is stereo with sample rate of 44.1kHz
File "/home/shun/.local/share/virtualenvs/music-demixing-challenge-starter-kit-dMCFg2FA/lib/python3.8/site-packages/soundfile.py", line 256, in read
with SoundFile(file, 'r', samplerate, channels,
File "/home/shun/.local/share/virtualenvs/music-demixing-challenge-starter-kit-dMCFg2FA/lib/python3.8/site-packages/soundfile.py", line 629, in __init__
self._file = self._open(file, mode_int, closefd)
File "/home/shun/.local/share/virtualenvs/music-demixing-challenge-starter-kit-dMCFg2FA/lib/python3.8/site-packages/soundfile.py", line 1183, in _open
_error_check(_snd.sf_error(file_ptr),
File "/home/shun/.local/share/virtualenvs/music-demixing-challenge-starter-kit-dMCFg2FA/lib/python3.8/site-packages/soundfile.py", line 1357, in _error_check
raise RuntimeError(prefix + _ffi.string(err_str).decode('utf-8', 'replace'))
RuntimeError: Error opening '/home/shun/aicrowd/music-demixing-challenge-starter-kit/data/test/Mu - Too Bright/mixture.wav': File contains data in an unknown format.
Hello!
Not to be too down on myself - I'm happy with my work and progress - but my place in the leaderboard is pretty low (lower than 30) - i.e. it may not be too interesting of a model to be published, etc. Do I necessarily need to fill the special submission README?
Is it only for the top 10 submissions that will be included in the final writeup/summary?
Hi
When I try to clone the repo, I get an error when it gets to the data/test/Mu - Too Bright/bass.wav file
fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0xb01dfacedebac1e pc=0xca0b0]
I have already seen the posts that suggest trying git lfs pull, which I have tried without joy. See below:
fatal error: still in list
runtime stack:
runtime.throw(0x495d50, 0xd)
/usr/local/go/src/runtime/panic.go:527 +0x90
runtime.mHeap_AllocSpanLocked(0x6b0ea0, 0x80, 0xc820110000)
/usr/local/go/src/runtime/mheap.go:590 +0x40c
runtime.mHeap_Alloc_m(0x6b0ea0, 0x80, 0x700100000000, 0xc81fff77ff)
/usr/local/go/src/runtime/mheap.go:425 +0x1ac
runtime.mHeap_Alloc.func1()
/usr/local/go/src/runtime/mheap.go:484 +0x41
runtime.systemstack(0x700008dc6e88)
/usr/local/go/src/runtime/asm_amd64.s:278 +0xab
runtime.mHeap_Alloc(0x6b0ea0, 0x80, 0x10100000000, 0xc82001d220)
/usr/local/go/src/runtime/mheap.go:485 +0x63
runtime.largeAlloc(0x100000, 0xc800000001, 0x1)
/usr/local/go/src/runtime/malloc.go:745 +0xb3
runtime.mallocgc.func3()
/usr/local/go/src/runtime/malloc.go:634 +0x33
runtime.systemstack(0xc820021500)
/usr/local/go/src/runtime/asm_amd64.s:262 +0x79
runtime.mstart()
/usr/local/go/src/runtime/proc1.go:674
Git version is 2.31.1 on macOS 10.15.7.
Any help would be much appreciated.
Cheers
Matt
Should be replaced by
scores[music_name]["sdr_bass"] = song_score[0]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.