Veldrovive commited on
Commit
b0c7e7d
1 Parent(s): c548aaa

Upload decoder_config.json

Browse files
Files changed (1) hide show
  1. decoder_config.json +37 -20
decoder_config.json CHANGED
@@ -4,12 +4,24 @@
4
  "decoder": {
5
  "unets": [
6
  {
7
- "dim": 64,
 
8
  "image_embed_dim": 768,
 
 
9
  "channels": 3,
10
- "dim_mults": [1, 2, 3, 4]
 
 
 
 
 
11
  }
12
  ],
 
 
 
 
13
  "image_sizes": [64],
14
  "channels": 3,
15
  "timesteps": 1000,
@@ -18,13 +30,13 @@
18
  "learned_variance": true
19
  },
20
  "data": {
21
- "webdataset_base_url": "pipe:s3cmd get s3://s-datasets/laion5b/laion2B-data/{}.tar -",
22
- "embeddings_url": "s3://s-laion5b/embeddings/vit-l-14/laion2B-en/img_emb_reordered_tiny/",
23
- "num_workers": 4,
24
- "batch_size": 24,
25
  "start_shard": 0,
26
- "end_shard": 49,
27
- "shard_width": 6,
28
  "index_width": 4,
29
  "splits": {
30
  "train": 0.75,
@@ -43,17 +55,20 @@
43
  }
44
  },
45
  "train": {
46
- "epochs": 100,
47
- "lr":5e-5,
48
- "wd": 0.1,
49
  "max_grad_norm": 0.5,
50
- "save_every_n_samples": 300,
51
  "n_sample_images": 10,
52
  "device": "cuda:0",
53
- "epoch_samples": 500,
54
- "validation_samples": 500,
55
  "use_ema": true,
56
  "ema_beta": 0.99,
 
 
 
57
  "unet_training_mask": [true]
58
  },
59
  "evaluate": {
@@ -67,20 +82,22 @@
67
  }
68
  },
69
  "tracker": {
 
70
  "overwrite_data_path": true,
71
 
72
  "log": {
73
  "log_type": "wandb",
74
 
75
  "wandb_entity": "veldrovive",
76
- "wandb_project": "trackers_tests",
 
77
 
78
  "verbose": true
79
  },
80
 
81
  "load": {
82
- "load_from": null,
83
- "file_path": "/opt/dalle2_generator/test_models/latest.pth"
84
  },
85
 
86
  "save": [{
@@ -90,11 +107,11 @@
90
  "save_to": "huggingface",
91
  "huggingface_repo": "Veldrovive/test_model",
92
 
93
- "save_all": true,
94
  "save_latest": true,
95
  "save_best": true,
96
 
97
- "save_type": "checkpoint"
98
  }]
99
  }
100
- }
 
4
  "decoder": {
5
  "unets": [
6
  {
7
+ "dim": 416,
8
+ "cond_dim": 512,
9
  "image_embed_dim": 768,
10
+ "text_embed_dim": 768,
11
+ "cond_on_text_encodings": true,
12
  "channels": 3,
13
+ "dim_mults": [1, 2, 3, 4],
14
+ "num_resnet_blocks": 4,
15
+ "attn_heads": 8,
16
+ "attn_dim_head": 64,
17
+ "sparse_attn": true,
18
+ "memory_efficient": true
19
  }
20
  ],
21
+ "clip":{
22
+ "make": "openai",
23
+ "model": "ViT-L/14"
24
+ },
25
  "image_sizes": [64],
26
  "channels": 3,
27
  "timesteps": 1000,
 
30
  "learned_variance": true
31
  },
32
  "data": {
33
+ "webdataset_base_url": "pipe:aws s3 cp --quiet s3://s-datasets/laion-aesthetic/data/laion2B-en-aesthetic/{}.tar -",
34
+ "embeddings_url": "s3://s-datasets/laion-aesthetic/ordered_embeddings/",
35
+ "num_workers": 12,
36
+ "batch_size": 22,
37
  "start_shard": 0,
38
+ "end_shard": 5247,
39
+ "shard_width": 5,
40
  "index_width": 4,
41
  "splits": {
42
  "train": 0.75,
 
55
  }
56
  },
57
  "train": {
58
+ "epochs": 1000,
59
+ "lr":1e-4,
60
+ "wd": 0.01,
61
  "max_grad_norm": 0.5,
62
+ "save_every_n_samples": 200000,
63
  "n_sample_images": 10,
64
  "device": "cuda:0",
65
+ "epoch_samples": 2000000,
66
+ "validation_samples": 100000,
67
  "use_ema": true,
68
  "ema_beta": 0.99,
69
+ "save_all": false,
70
+ "save_latest": true,
71
+ "save_best": true,
72
  "unet_training_mask": [true]
73
  },
74
  "evaluate": {
 
82
  }
83
  },
84
  "tracker": {
85
+ "data_path": ".tracker-data",
86
  "overwrite_data_path": true,
87
 
88
  "log": {
89
  "log_type": "wandb",
90
 
91
  "wandb_entity": "veldrovive",
92
+ "wandb_project": "trackers-test",
93
+ "wandb_run_name": "nousr config",
94
 
95
  "verbose": true
96
  },
97
 
98
  "load": {
99
+ "load_from": "local",
100
+ "file_path": "/home/aidan/DALLE2-pytorch/latest.pth"
101
  },
102
 
103
  "save": [{
 
107
  "save_to": "huggingface",
108
  "huggingface_repo": "Veldrovive/test_model",
109
 
110
+ "save_all": false,
111
  "save_latest": true,
112
  "save_best": true,
113
 
114
+ "save_type": "model"
115
  }]
116
  }
117
+ }