forked from facebookresearch/demucs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request facebookresearch#217 from facebookresearch/hybrid
Hybrid Demucs
- Loading branch information
Showing
1,512 changed files
with
4,829 additions
and
3,315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
__pycache__ | ||
*.egg-info | ||
__pycache__ | ||
Session.vim | ||
/build | ||
/dist | ||
Session.vim | ||
*.log | ||
/trash | ||
/checkpoints | ||
/logs | ||
/models | ||
/evals | ||
/lab | ||
/metadata | ||
/notebooks | ||
/outputs | ||
/release | ||
/release_models | ||
/separated | ||
/metadata | ||
/tests | ||
/trash | ||
/misc | ||
/mdx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
include *.md | ||
recursive-exclude env * | ||
recursive-include conf *.yaml | ||
include Makefile | ||
include LICENSE | ||
include setup.cfg | ||
incude demucs.png | ||
include demucs.png | ||
include outputs.tar.gz | ||
include test.mp3 | ||
include requirements.txt | ||
recursive-include docs *.md | ||
include requirements_minimal.txt | ||
include mypy.ini | ||
include demucs/py.typed | ||
include demucs/remote/*.txt | ||
include demucs/remote/*.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,30 @@ | ||
default: tests | ||
|
||
all: linter tests docs dist | ||
all: linter tests | ||
|
||
linter: | ||
flake8 demucs | ||
mypy demucs | ||
|
||
tests: test_train test_eval | ||
|
||
test_train: tests/musdb | ||
_DORA_TEST_PATH=/tmp/demucs python3 -m dora run --clear \ | ||
dset.musdb=./tests/musdb dset.segment=4 dset.shift=2 epochs=2 model=demucs \ | ||
demucs.depth=2 demucs.channels=4 test.sdr=false misc.num_workers=0 test.workers=0 \ | ||
test.shifts=0 | ||
|
||
tests: | ||
python3 -m demucs.separate -n demucs_unittest test.mp3 | ||
python3 -m demucs.separate -n demucs_unittest --mp3 test.mp3 | ||
test_eval: | ||
python3 -m demucs -n demucs_unittest test.mp3 | ||
python3 -m demucs -n demucs_unittest --mp3 test.mp3 | ||
|
||
tests/musdb: | ||
test -e tests || mkdir tests | ||
python3 -c 'import musdb; musdb.DB("tests/tmp", download=True)' | ||
musdbconvert tests/tmp tests/musdb | ||
|
||
dist: | ||
python3 setup.py sdist | ||
|
||
clean: | ||
rm -r dist build *.egg-info | ||
|
||
|
||
.PHONY: linter tests dist | ||
.PHONY: linter dist test_train test_eval |
Oops, something went wrong.