File size: 474 Bytes
4b16ff2
1dea888
65fa65c
 
 
1dea888
65fa65c
 
 
1dea888
 
 
65fa65c
 
 
 
 
 
 
 
 
1dea888
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# audio-diffusion
```bash
accelerate config
```
```bash
python src/audio_to_images.py \
  --resolution 256 \
  --input_dir path-to-audio-files \
  --output_dir data-256
```
```bash
accelerate launch src/train_unconditional.py \
  --dataset_name data-256 \
  --resolution 256 \
  --output_dir ddpm-ema-audio-256 \
  --train_batch_size 16 \
  --num_epochs 100 \
  --gradient_accumulation_steps 1 \
  --learning_rate 1e-4 \
  --lr_warmup_steps 500 \
  --mixed_precision no
```