Upload 2 files
Browse files- .gitattributes +1 -0
- config.yaml +69 -0
- model.ckpt +3 -0
.gitattributes
CHANGED
@@ -52,3 +52,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
52 |
xformers-0.0.14.dev0-cp37-cp37m-linux_x86_64.whl filter=lfs diff=lfs merge=lfs -text
|
53 |
xformers-0.0.14.dev0-cp38-cp38-linux_x86_64.whl filter=lfs diff=lfs merge=lfs -text
|
54 |
torch-1.13.0a0+git7c98e70-cp38-cp38-linux_x86_64.whl filter=lfs diff=lfs merge=lfs -text
|
|
|
|
52 |
xformers-0.0.14.dev0-cp37-cp37m-linux_x86_64.whl filter=lfs diff=lfs merge=lfs -text
|
53 |
xformers-0.0.14.dev0-cp38-cp38-linux_x86_64.whl filter=lfs diff=lfs merge=lfs -text
|
54 |
torch-1.13.0a0+git7c98e70-cp38-cp38-linux_x86_64.whl filter=lfs diff=lfs merge=lfs -text
|
55 |
+
model.ckpt filter=lfs diff=lfs merge=lfs -text
|
config.yaml
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
model:
|
2 |
+
base_learning_rate: 1.0e-04
|
3 |
+
target: ldm.models.diffusion.ddpm.LatentDiffusion
|
4 |
+
params:
|
5 |
+
linear_start: 0.00085
|
6 |
+
linear_end: 0.0120
|
7 |
+
num_timesteps_cond: 1
|
8 |
+
log_every_t: 200
|
9 |
+
timesteps: 1000
|
10 |
+
first_stage_key: "jpg"
|
11 |
+
cond_stage_key: "txt"
|
12 |
+
image_size: 64
|
13 |
+
channels: 4
|
14 |
+
cond_stage_trainable: false # Note: different from the one we trained before
|
15 |
+
conditioning_key: crossattn
|
16 |
+
monitor: val/loss_simple_ema
|
17 |
+
scale_factor: 0.18215
|
18 |
+
|
19 |
+
scheduler_config: # 10000 warmup steps
|
20 |
+
target: ldm.lr_scheduler.LambdaLinearScheduler
|
21 |
+
params:
|
22 |
+
warm_up_steps: [ 10000 ]
|
23 |
+
cycle_lengths: [ 10000000000000 ] # incredibly large number to prevent corner cases
|
24 |
+
f_start: [ 1.e-6 ]
|
25 |
+
f_max: [ 1. ]
|
26 |
+
f_min: [ 1. ]
|
27 |
+
|
28 |
+
unet_config:
|
29 |
+
target: ldm.modules.diffusionmodules.openaimodel.UNetModel
|
30 |
+
params:
|
31 |
+
image_size: 32 # unused
|
32 |
+
in_channels: 4
|
33 |
+
out_channels: 4
|
34 |
+
model_channels: 320
|
35 |
+
attention_resolutions: [ 4, 2, 1 ]
|
36 |
+
num_res_blocks: 2
|
37 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
38 |
+
num_heads: 8
|
39 |
+
use_spatial_transformer: True
|
40 |
+
transformer_depth: 1
|
41 |
+
context_dim: 768
|
42 |
+
use_checkpoint: True
|
43 |
+
legacy: False
|
44 |
+
|
45 |
+
first_stage_config:
|
46 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
47 |
+
params:
|
48 |
+
embed_dim: 4
|
49 |
+
monitor: val/rec_loss
|
50 |
+
ddconfig:
|
51 |
+
double_z: true
|
52 |
+
z_channels: 4
|
53 |
+
resolution: 512
|
54 |
+
in_channels: 3
|
55 |
+
out_ch: 3
|
56 |
+
ch: 128
|
57 |
+
ch_mult:
|
58 |
+
- 1
|
59 |
+
- 2
|
60 |
+
- 4
|
61 |
+
- 4
|
62 |
+
num_res_blocks: 2
|
63 |
+
attn_resolutions: []
|
64 |
+
dropout: 0.0
|
65 |
+
lossconfig:
|
66 |
+
target: torch.nn.Identity
|
67 |
+
|
68 |
+
cond_stage_config:
|
69 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
model.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a7529df02340e5b4c3870c894c1ae84f22ea7b37fd0633e5bacfad9618228032
|
3 |
+
size 7703828146
|