Spaces:
Runtime error
Runtime error
Hugo Flores Garcia commited on
Commit ·
74cced7
1
Parent(s): e9fd215
update readme
Browse files3 unmodified lines456789101112131415161718192021222316 unmodified lines404142434445464748495051525354555657585926 unmodified lines868788899091923 unmodified lines# Setting upinstall AudioTools```bashgit clone https://github.com/descriptinc/audiotools.gitpip install -e ./audiotools```install the Descript Audio Codec.```bashgit clone https://github.com/descriptinc/descript-audio-codec.gitpip install -e ./descript-audio-codec```install VampNet```bash16 unmodified linessource ./env/env.sh```## Staging a RunStaging a run makes a copy of all the git-tracked files in the codebase and saves them to a folder for reproducibility. You can then run the training script from the staged folder.```stage --name my_run --run_dir /path/to/staging/folder```## Training a model```bashpython scripts/exp/train.py --args.load conf/vampnet.yml --save_path /path/to/checkpoints```See `python scripts/exp/train.py -h` for a list of options.## Fine-tuning26 unmodified lines```## Launching the Gradio Interface```bashpython demo.py --args.load conf/interface/spotdl.yml --Interface.device cuda```3 unmodified lines45678916 unmodified lines26272829303132333435363738394041424344454647484950515226 unmodified lines7980813 unmodified lines# Setting upinstall VampNet```bash16 unmodified linessource ./env/env.sh```## Launching the Gradio InterfaceYou can launch a gradio UI to play with vampnet.```bashpython demo.py --args.load conf/interface/spotdl.yml --Interface.device cuda```# Training / Fine-tuning## Training a modelTo train a model, run the following script:```bashpython scripts/exp/train.py --args.load conf/vampnet.yml --save_path /path/to/checkpoints```You can edit `conf/vampnet.yml` to change the dataset paths or any training hyperparameters.For coarse2fine models, you can use `conf/c2f.yml` as a starting configuration.See `python scripts/exp/train.py -h` for a list of options.## Fine-tuning26 unmodified lines```
README.md+12-23