Skip to content

Commit befb06a

Browse files
fix: readme
1 parent e3b75c7 commit befb06a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ from audio_diffusion_pytorch import AudioDiffusionModel
1919

2020
model = AudioDiffusionModel()
2121

22-
# Train model with audio sources [batch, channels, samples]
23-
x = torch.randn(2, 1, 2 ** 18) # 2**18 ≈ 12s of audio at a frequency of 22050
22+
# Train model with audio sources
23+
x = torch.randn(2, 1, 2 ** 18) # [batch, channels, samples], 2**18 ≈ 12s of audio at a frequency of 22050
2424
loss = model(x)
2525
loss.backward() # Do this many times
2626

@@ -150,7 +150,7 @@ y_long = composer(y, keep_start=True) # [1, 1, 98304]
150150
## Appreciation
151151

152152
* [Phil Wang](https://github.com/lucidrains) for the beautiful open source contributions on [diffusion](https://github.com/lucidrains/denoising-diffusion-pytorch) and [Imagen](https://github.com/lucidrains/imagen-pytorch).
153-
* [Katherine Crowson](https://github.com/crowsonkb) for the experiments with [k-diffusion](https://github.com/crowsonkb/k-diffusion).
153+
* [Katherine Crowson](https://github.com/crowsonkb) for the experiments with [k-diffusion](https://github.com/crowsonkb/k-diffusion) and discovering the insane `ADPM2` sampler.
154154

155155
## Citations
156156

0 commit comments

Comments
 (0)