cosmir / dev-set-builder

Boostrapping weak multi-instrument classifiers to build a development dataset with the open-mic taxonomy.
MIT License
4 stars 0 forks source link

Cleaned up featurefy, added an expected failure test. #15

Closed ejhumphrey closed 6 years ago

ejhumphrey commented 6 years ago

fixes #14

ejhumphrey commented 6 years ago

@simondurand can you give this a look?

simondurand commented 6 years ago

The change looks fine and they seem to work. I'll add you can change the README.md as well:

$ echo "my/audio/file.wav,my/jams/file.jams" > filelist.csv
$ python scripts/featurefy.py filelist.csv ./outputs
$ ls ./outputs
corpus_file.h5

with something like:

cd {repo_root}
 ./scripts/featurefy.py --file /some/audio/file.wav ./output_dir
 OR
ls /path/to/audio/*wav > file_list.txt
./scripts/featurefy.py --input_list file_list.txt ./output_dir
ejhumphrey commented 6 years ago

thanks! updated the readme for clarity, mentioning the model parameter deps so that folks won't get burned in the future.