add model ckpt
Browse files
checkpoints/last.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2ee637bdc2a5c19eadaa907b666a525e117b731567d87f78651efee5f58deffa
|
3 |
+
size 4262170613
|
configs/2020-11-20T12-54-32-lightning.yaml
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
lightning:
|
2 |
+
trainer:
|
3 |
+
distributed_backend: ddp
|
4 |
+
accumulate_grad_batches: 4
|
5 |
+
gpus: 0,1
|
configs/2020-11-20T12-54-32-project.yaml
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
model:
|
2 |
+
base_learning_rate: 4.5e-06
|
3 |
+
target: taming.models.cond_transformer.Net2NetTransformer
|
4 |
+
params:
|
5 |
+
cond_stage_key: depth
|
6 |
+
transformer_config:
|
7 |
+
target: taming.modules.transformer.mingpt.GPT
|
8 |
+
params:
|
9 |
+
vocab_size: 1024
|
10 |
+
block_size: 512
|
11 |
+
n_layer: 24
|
12 |
+
n_head: 16
|
13 |
+
n_embd: 1024
|
14 |
+
first_stage_config:
|
15 |
+
target: taming.models.vqgan.VQModel
|
16 |
+
params:
|
17 |
+
ckpt_path: logs/2020-09-23T17-56-33_imagenet_vqgan/checkpoints/last.ckpt
|
18 |
+
embed_dim: 256
|
19 |
+
n_embed: 1024
|
20 |
+
ddconfig:
|
21 |
+
double_z: false
|
22 |
+
z_channels: 256
|
23 |
+
resolution: 256
|
24 |
+
in_channels: 3
|
25 |
+
out_ch: 3
|
26 |
+
ch: 128
|
27 |
+
ch_mult:
|
28 |
+
- 1
|
29 |
+
- 1
|
30 |
+
- 2
|
31 |
+
- 2
|
32 |
+
- 4
|
33 |
+
num_res_blocks: 2
|
34 |
+
attn_resolutions:
|
35 |
+
- 16
|
36 |
+
dropout: 0.0
|
37 |
+
lossconfig:
|
38 |
+
target: taming.modules.losses.DummyLoss
|
39 |
+
cond_stage_config:
|
40 |
+
target: taming.models.vqgan.VQModel
|
41 |
+
params:
|
42 |
+
ckpt_path: logs/2020-11-03T15-34-24_imagenetdepth_vqgan/checkpoints/last.ckpt
|
43 |
+
embed_dim: 256
|
44 |
+
n_embed: 1024
|
45 |
+
ddconfig:
|
46 |
+
double_z: false
|
47 |
+
z_channels: 256
|
48 |
+
resolution: 256
|
49 |
+
in_channels: 1
|
50 |
+
out_ch: 1
|
51 |
+
ch: 128
|
52 |
+
ch_mult:
|
53 |
+
- 1
|
54 |
+
- 1
|
55 |
+
- 2
|
56 |
+
- 2
|
57 |
+
- 4
|
58 |
+
num_res_blocks: 2
|
59 |
+
attn_resolutions:
|
60 |
+
- 16
|
61 |
+
dropout: 0.0
|
62 |
+
lossconfig:
|
63 |
+
target: taming.modules.losses.DummyLoss
|
64 |
+
|
65 |
+
data:
|
66 |
+
target: main.DataModuleFromConfig
|
67 |
+
params:
|
68 |
+
batch_size: 2
|
69 |
+
num_workers: 8
|
70 |
+
train:
|
71 |
+
target: taming.data.imagenet.RINTrainWithDepth
|
72 |
+
params:
|
73 |
+
size: 256
|
74 |
+
validation:
|
75 |
+
target: taming.data.imagenet.RINValidationWithDepth
|
76 |
+
params:
|
77 |
+
size: 256
|