Skip to content

Commit

Permalink
Adding some more docs and READMEs
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 292658348
Change-Id: I281f21394a3391f39fb8cf29eb72c5248e769585
  • Loading branch information
jesseengel authored and Magenta Team committed Feb 1, 2020
1 parent 9e260f9 commit 6858ba7
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ If you use this code please cite it as:
```latex
@inproceedings{
engel2020ddsp,
title={{\{}DDSP{\}}: Differentiable Digital Signal Processing},
title={DDSP: Differentiable Digital Signal Processing},
author={Jesse Engel and Lamtharn (Hanoi) Hantrakul and Chenjie Gu and Adam Roberts},
booktitle={International Conference on Learning Representations},
year={2020},
Expand Down
8 changes: 8 additions & 0 deletions ddsp/colab/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Colab Notebooks

Interactive notebooks to demonstrate DDSP.

* [demos](./demos/): Self-contained demonstrations for training models and showing them in action.

* [tutorials](./tutorials/): Interactive walkthroughs of the DDSP functions and APIs.

11 changes: 5 additions & 6 deletions ddsp/training/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ The current supported models are variants of an audio autoencoder.
<img src="https://storage.googleapis.com/ddsp/additive_diagram/ddsp_autoencoder.png" width="800px" alt="logo"></img>
</div>

# Disclaimer
*Unlike the base `ddsp/` library, this folder is actively modified for new
experiments and has a higher chance of making breaking changes in the future.*


## Modules

The DDSP training libraries are separated into several modules:
Expand Down Expand Up @@ -126,9 +131,3 @@ ddsp_run \
--gin_param="batch_size=16" \
--alsologtostderr
```


# Disclaimer
*Unlike the base `ddsp/` library, this folder is actively modified for new
experiments and has a higher chance of making breaking changes in the future.*

3 changes: 3 additions & 0 deletions ddsp/training/data_preparation/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Data Preparation

Scripts and libraries to prepare datasets for training.
5 changes: 5 additions & 0 deletions ddsp/training/gin/datasets/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Gin Configs: Datasets

This directory contains gin configs for datasets. Each file contains datasets to use for training, evaluation, and sampling.
Each training run with `ddsp_run.py` must be supplied both a model file and a dataset file, each with the `--gin_file` flag.
Evaluation and sampling jobs only require a dataset file.
5 changes: 5 additions & 0 deletions ddsp/training/gin/models/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Gin Configs: Models

This directory contains gin configs for model architectures (including ddsp modules).
Each training run with `ddsp_run.py` must be supplied both a model file and a dataset file, each with the `--gin_file` flag.
Evaluation and sampling jobs only require a dataset file.
4 changes: 4 additions & 0 deletions ddsp/training/gin/optimization/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Gin Configs: Optimization

This directory contains gin configs for training hyperparameters such as `batch_size`
and `learning_rate`. Default values are loaded via `ddsp_run.py` and can be replaced with the `--gin_param` flag.
21 changes: 21 additions & 0 deletions ddsp/training/gin/papers/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Gin Configs: Papers

This directory contains gin configs for replicating the experiments in published
papers using ddsp. Each config file specifies both the dataset and the model,
so only a single --gin_file flag is required.


## List of papers

* [iclr2020](./iclr2020/): Experiments from the orginal DDSP ICLR 2020 paper ([paper](https://openreview.net/forum?id=B1x1ma4tDr), [blog](https://magenta.tensorflow.org/ddsp)).

```latex
@inproceedings{
engel2020ddsp,
title={DDSP: Differentiable Digital Signal Processing},
author={Jesse Engel and Lamtharn (Hanoi) Hantrakul and Chenjie Gu and Adam Roberts},
booktitle={International Conference on Learning Representations},
year={2020},
url={https://openreview.net/forum?id=B1x1ma4tDr}
}
```

0 comments on commit 6858ba7

Please sign in to comment.