Veldrovive commited on
Commit
5b3d16b
1 Parent(s): 4827dd0

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +93 -0
config.json ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "seed": 1,
3
+
4
+ "decoder": {
5
+ "unets": [
6
+ {
7
+ "dim": 416,
8
+ "cond_dim": 512,
9
+ "image_embed_dim": 768,
10
+ "channels": 3,
11
+ "dim_mults": [1, 2, 3, 4],
12
+ "num_resnet_blocks": 4,
13
+ "attn_heads": 8,
14
+ "attn_dim_head": 64,
15
+ "sparse_attn": true
16
+ }
17
+ ],
18
+ "image_sizes": [64],
19
+ "channels": 3,
20
+ "timesteps": 1000,
21
+ "loss_type": "l2",
22
+ "beta_schedule": "cosine",
23
+ "learned_variance": true
24
+ },
25
+ "data": {
26
+ "webdataset_base_url": "pipe:aws s3 cp --quiet s3://s-datasets/laion-aesthetic/data/laion2B-en-aesthetic/{}.tar -",
27
+ "embeddings_url": "s3://s-datasets/laion-aesthetic/ordered_embeddings/",
28
+ "num_workers": 4,
29
+ "batch_size": 8,
30
+ "start_shard": 0,
31
+ "end_shard": 5247,
32
+ "shard_width": 5,
33
+ "index_width": 4,
34
+ "splits": {
35
+ "train": 0.75,
36
+ "val": 0.15,
37
+ "test": 0.1
38
+ },
39
+ "shuffle_train": false,
40
+ "resample_train": true,
41
+ "preprocessing": {
42
+ "RandomResizedCrop": {
43
+ "size": [64, 64],
44
+ "scale": [0.75, 1.0],
45
+ "ratio": [1.0, 1.0]
46
+ },
47
+ "ToTensor": true
48
+ }
49
+ },
50
+ "train": {
51
+ "epochs": 40,
52
+ "lr":1e-4,
53
+ "wd": 0.01,
54
+ "max_grad_norm": 0.5,
55
+ "save_every_n_samples": 200000,
56
+ "n_sample_images": 10,
57
+ "device": "cuda:0",
58
+ "epoch_samples": 2000000,
59
+ "validation_samples": 100000,
60
+ "use_ema": true,
61
+ "ema_beta": 0.99,
62
+ "save_all": false,
63
+ "save_latest": true,
64
+ "save_best": true,
65
+ "unet_training_mask": [true]
66
+ },
67
+ "evaluate": {
68
+ "n_evaluation_samples": 30,
69
+ "FID": {
70
+ "feature": 64
71
+ },
72
+ "LPIPS": {
73
+ "net_type": "vgg",
74
+ "reduction": "mean"
75
+ }
76
+ },
77
+ "tracker": {
78
+ "tracker_type": "wandb",
79
+ "data_path": ".tracker-data",
80
+ "verbose": true,
81
+
82
+ "wandb_entity": "nousr_laion",
83
+ "wandb_project": "dalle2_train_decoder"
84
+ },
85
+ "load": {
86
+ "source": null,
87
+
88
+ "run_path": "",
89
+ "file_path": "latest.pth",
90
+
91
+ "resume": false
92
+ }
93
+ }