Scattering with Random Paths as Loss for Differentiable Digital Signal Processing
- Clone this repository and open its directory.
-
Install the requirements:
conda env create --file=conda_env_gpu.yml
orpip install uvuv pip install -r requirements_gpu.txt
For posterity,requirements_all_gpu.txtandrequirements_all_cpu.txtare also provided. - The source code can be explored in the
experiments/,scrapl/, andeval_808/directories. - All experiment config files can be found in the
configs/directory. - The dataset for the Roland TR-808 sound matching task can be found here.
- Create an out directory (
mkdir out). -
All experiments can be run by modifying
scripts/train.pyand the correspondingconfigs/.../train_ ... .ymlconfig file and then runningpython scripts/train.py.
Make sure your PYTHONPATH has been set correctly by running commands like:export PYTHONPATH=$PYTHONPATH:BASE_DIR/scrapl/,export PYTHONPATH=$PYTHONPATH:BASE_DIR/scrapl/kymatio/,
andexport PYTHONPATH=$PYTHONPATH:BASE_DIR/scrapl/scrapl/. - The source code is currently not documented, but don't hesitate to open an issue if you have any questions or comments.
-
A
pipinstallable Python package of SCRAPL for the JTFS is coming soon.