forked from ermongroup/ddim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcifar10.yml
50 lines (45 loc) · 901 Bytes
/
cifar10.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
data:
dataset: "CIFAR10"
image_size: 32
channels: 3
logit_transform: false
uniform_dequantization: false
gaussian_dequantization: false
random_flip: true
rescaled: true
num_workers: 4
model:
type: "simple"
in_channels: 3
out_ch: 3
ch: 128
ch_mult: [1, 2, 2, 2]
num_res_blocks: 2
attn_resolutions: [16, ]
dropout: 0.1
var_type: fixedlarge
ema_rate: 0.9999
ema: True
resamp_with_conv: True
diffusion:
beta_schedule: linear
beta_start: 0.0001
beta_end: 0.02
num_diffusion_timesteps: 1000
training:
batch_size: 128
n_epochs: 10000
n_iters: 5000000
snapshot_freq: 5000
validation_freq: 2000
sampling:
batch_size: 64
last_only: True
optim:
weight_decay: 0.000
optimizer: "Adam"
lr: 0.0002
beta1: 0.9
amsgrad: false
eps: 0.00000001
grad_clip: 1.0