Hugo Flores García
commited on
Commit
•
9da46f9
1
Parent(s):
d98455c
Update README.md
Browse files
README.md
CHANGED
@@ -7,22 +7,22 @@ This repository contains recipes for training generative music models on top of
|
|
7 |
install AudioTools
|
8 |
|
9 |
```bash
|
10 |
-
git clone https://github.com/
|
11 |
pip install -e ./audiotools
|
12 |
```
|
13 |
|
14 |
-
install the
|
15 |
|
16 |
```bash
|
17 |
-
git clone https://github.com/
|
18 |
-
pip install -e ./
|
19 |
```
|
20 |
|
21 |
install VampNet
|
22 |
|
23 |
```bash
|
24 |
-
git clone https://github.com/hugofloresgarcia/
|
25 |
-
pip install -e ./
|
26 |
```
|
27 |
|
28 |
## A note on argbind
|
@@ -54,9 +54,11 @@ stage --name my_run --run_dir /path/to/staging/folder
|
|
54 |
python scripts/exp/train.py --args.load conf/vampnet.yml --save_path /path/to/checkpoints
|
55 |
```
|
56 |
|
|
|
|
|
57 |
## Fine-tuning
|
58 |
To fine-tune a model, use the script in `scripts/exp/fine_tune.py` to generate 3 configuration files: `c2f.yml`, `coarse.yml`, and `interface.yml`.
|
59 |
-
The first two are used to fine-tune the coarse and fine models, respectively. The last one is used to
|
60 |
|
61 |
```bash
|
62 |
python scripts/exp/fine_tune.py "/path/to/audio1.mp3 /path/to/audio2/ /path/to/audio3.wav" <fine_tune_name>
|
@@ -87,4 +89,4 @@ python demo.py --args.load conf/generated/<fine_tune_name>/interface.yml
|
|
87 |
## Launching the Gradio Interface
|
88 |
```bash
|
89 |
python demo.py --args.load conf/interface/spotdl.yml --Interface.device cuda
|
90 |
-
```
|
|
|
7 |
install AudioTools
|
8 |
|
9 |
```bash
|
10 |
+
git clone https://github.com/descriptinc/audiotools.git
|
11 |
pip install -e ./audiotools
|
12 |
```
|
13 |
|
14 |
+
install the Descript Audio Codec.
|
15 |
|
16 |
```bash
|
17 |
+
git clone https://github.com/descriptinc/dac.git
|
18 |
+
pip install -e ./dac
|
19 |
```
|
20 |
|
21 |
install VampNet
|
22 |
|
23 |
```bash
|
24 |
+
git clone https://github.com/hugofloresgarcia/vampnet.git
|
25 |
+
pip install -e ./vampnet
|
26 |
```
|
27 |
|
28 |
## A note on argbind
|
|
|
54 |
python scripts/exp/train.py --args.load conf/vampnet.yml --save_path /path/to/checkpoints
|
55 |
```
|
56 |
|
57 |
+
See `python scripts/exp/train.py -h` for a list of options.
|
58 |
+
|
59 |
## Fine-tuning
|
60 |
To fine-tune a model, use the script in `scripts/exp/fine_tune.py` to generate 3 configuration files: `c2f.yml`, `coarse.yml`, and `interface.yml`.
|
61 |
+
The first two are used to fine-tune the coarse and fine models, respectively. The last one is used to launch the gradio interface.
|
62 |
|
63 |
```bash
|
64 |
python scripts/exp/fine_tune.py "/path/to/audio1.mp3 /path/to/audio2/ /path/to/audio3.wav" <fine_tune_name>
|
|
|
89 |
## Launching the Gradio Interface
|
90 |
```bash
|
91 |
python demo.py --args.load conf/interface/spotdl.yml --Interface.device cuda
|
92 |
+
```
|