cnut1648 commited on
Commit
23fc8fa
1 Parent(s): 9c5e92e

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +12 -20
  2. DDIM-FMNIST/.hydra/config.yaml +51 -0
  3. DDIM-FMNIST/.hydra/hydra.yaml +170 -0
  4. DDIM-FMNIST/.hydra/overrides.yaml +2 -0
  5. DDIM-FMNIST/run.log +0 -0
  6. DDIM-FMNIST/save_ckpt/ema.ckpt +3 -0
  7. DDIM-FMNIST/save_ckpt/train.ckpt +3 -0
  8. DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/t10k-images-idx3-ubyte +3 -0
  9. DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/t10k-images-idx3-ubyte.gz +3 -0
  10. DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/t10k-labels-idx1-ubyte +0 -0
  11. DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/t10k-labels-idx1-ubyte.gz +3 -0
  12. DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/train-images-idx3-ubyte +3 -0
  13. DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/train-images-idx3-ubyte.gz +3 -0
  14. DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/train-labels-idx1-ubyte +0 -0
  15. DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/train-labels-idx1-ubyte.gz +3 -0
  16. DDIM-FMNIST/temp/tensorboard/0506-0709/events.out.tfevents.1714979375.104-171-202-108.2443841.0 +3 -0
  17. DDIM-KMNIST/.hydra/config.yaml +51 -0
  18. DDIM-KMNIST/.hydra/hydra.yaml +170 -0
  19. DDIM-KMNIST/.hydra/overrides.yaml +2 -0
  20. DDIM-KMNIST/run.log +0 -0
  21. DDIM-KMNIST/save_ckpt/ema.ckpt +3 -0
  22. DDIM-KMNIST/save_ckpt/train.ckpt +3 -0
  23. DDIM-KMNIST/temp/kmnist/KMNIST/raw/t10k-images-idx3-ubyte +3 -0
  24. DDIM-KMNIST/temp/kmnist/KMNIST/raw/t10k-images-idx3-ubyte.gz +3 -0
  25. DDIM-KMNIST/temp/kmnist/KMNIST/raw/t10k-labels-idx1-ubyte +0 -0
  26. DDIM-KMNIST/temp/kmnist/KMNIST/raw/t10k-labels-idx1-ubyte.gz +3 -0
  27. DDIM-KMNIST/temp/kmnist/KMNIST/raw/train-images-idx3-ubyte +3 -0
  28. DDIM-KMNIST/temp/kmnist/KMNIST/raw/train-images-idx3-ubyte.gz +3 -0
  29. DDIM-KMNIST/temp/kmnist/KMNIST/raw/train-labels-idx1-ubyte +0 -0
  30. DDIM-KMNIST/temp/kmnist/KMNIST/raw/train-labels-idx1-ubyte.gz +3 -0
  31. DDIM-KMNIST/temp/tensorboard/0506-0124/events.out.tfevents.1714958669.104-171-202-108.2349600.0 +3 -0
  32. DDIM-MNIST/.hydra/config.yaml +51 -0
  33. DDIM-MNIST/.hydra/hydra.yaml +169 -0
  34. DDIM-MNIST/.hydra/overrides.yaml +1 -0
  35. DDIM-MNIST/run.log +0 -0
  36. DDIM-MNIST/save_ckpt/ema.ckpt +3 -0
  37. DDIM-MNIST/save_ckpt/train.ckpt +3 -0
  38. DDIM-MNIST/temp/mnist/MNIST/raw/t10k-images-idx3-ubyte +3 -0
  39. DDIM-MNIST/temp/mnist/MNIST/raw/t10k-images-idx3-ubyte.gz +3 -0
  40. DDIM-MNIST/temp/mnist/MNIST/raw/t10k-labels-idx1-ubyte +0 -0
  41. DDIM-MNIST/temp/mnist/MNIST/raw/t10k-labels-idx1-ubyte.gz +3 -0
  42. DDIM-MNIST/temp/mnist/MNIST/raw/train-images-idx3-ubyte +3 -0
  43. DDIM-MNIST/temp/mnist/MNIST/raw/train-images-idx3-ubyte.gz +3 -0
  44. DDIM-MNIST/temp/mnist/MNIST/raw/train-labels-idx1-ubyte +0 -0
  45. DDIM-MNIST/temp/mnist/MNIST/raw/train-labels-idx1-ubyte.gz +3 -0
  46. DDIM-MNIST/temp/tensorboard/0506-0228/events.out.tfevents.1714962501.104-171-202-108.2391814.0 +3 -0
  47. PF-FMNIST/.hydra/config.yaml +51 -0
  48. PF-FMNIST/.hydra/hydra.yaml +172 -0
  49. PF-FMNIST/.hydra/overrides.yaml +4 -0
  50. PF-FMNIST/run.log +0 -0
.gitattributes CHANGED
@@ -8,7 +8,6 @@
8
  *.h5 filter=lfs diff=lfs merge=lfs -text
9
  *.joblib filter=lfs diff=lfs merge=lfs -text
10
  *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.lz4 filter=lfs diff=lfs merge=lfs -text
12
  *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
  *.model filter=lfs diff=lfs merge=lfs -text
14
  *.msgpack filter=lfs diff=lfs merge=lfs -text
@@ -34,22 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
34
  *.zip filter=lfs diff=lfs merge=lfs -text
35
  *.zst filter=lfs diff=lfs merge=lfs -text
36
  *tfevents* filter=lfs diff=lfs merge=lfs -text
37
- # Audio files - uncompressed
38
- *.pcm filter=lfs diff=lfs merge=lfs -text
39
- *.sam filter=lfs diff=lfs merge=lfs -text
40
- *.raw filter=lfs diff=lfs merge=lfs -text
41
- # Audio files - compressed
42
- *.aac filter=lfs diff=lfs merge=lfs -text
43
- *.flac filter=lfs diff=lfs merge=lfs -text
44
- *.mp3 filter=lfs diff=lfs merge=lfs -text
45
- *.ogg filter=lfs diff=lfs merge=lfs -text
46
- *.wav filter=lfs diff=lfs merge=lfs -text
47
- # Image files - uncompressed
48
- *.bmp filter=lfs diff=lfs merge=lfs -text
49
- *.gif filter=lfs diff=lfs merge=lfs -text
50
- *.png filter=lfs diff=lfs merge=lfs -text
51
- *.tiff filter=lfs diff=lfs merge=lfs -text
52
- # Image files - compressed
53
- *.jpg filter=lfs diff=lfs merge=lfs -text
54
- *.jpeg filter=lfs diff=lfs merge=lfs -text
55
- *.webp filter=lfs diff=lfs merge=lfs -text
 
8
  *.h5 filter=lfs diff=lfs merge=lfs -text
9
  *.joblib filter=lfs diff=lfs merge=lfs -text
10
  *.lfs.* filter=lfs diff=lfs merge=lfs -text
 
11
  *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
  *.model filter=lfs diff=lfs merge=lfs -text
13
  *.msgpack filter=lfs diff=lfs merge=lfs -text
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/t10k-images-idx3-ubyte filter=lfs diff=lfs merge=lfs -text
37
+ DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/train-images-idx3-ubyte filter=lfs diff=lfs merge=lfs -text
38
+ DDIM-KMNIST/temp/kmnist/KMNIST/raw/t10k-images-idx3-ubyte filter=lfs diff=lfs merge=lfs -text
39
+ DDIM-KMNIST/temp/kmnist/KMNIST/raw/train-images-idx3-ubyte filter=lfs diff=lfs merge=lfs -text
40
+ DDIM-MNIST/temp/mnist/MNIST/raw/t10k-images-idx3-ubyte filter=lfs diff=lfs merge=lfs -text
41
+ DDIM-MNIST/temp/mnist/MNIST/raw/train-images-idx3-ubyte filter=lfs diff=lfs merge=lfs -text
42
+ PF-FMNIST/temp/f-mnist/FashionMNIST/raw/t10k-images-idx3-ubyte filter=lfs diff=lfs merge=lfs -text
43
+ PF-FMNIST/temp/f-mnist/FashionMNIST/raw/train-images-idx3-ubyte filter=lfs diff=lfs merge=lfs -text
44
+ PF-KMNIST/temp/kmnist/KMNIST/raw/t10k-images-idx3-ubyte filter=lfs diff=lfs merge=lfs -text
45
+ PF-KMNIST/temp/kmnist/KMNIST/raw/train-images-idx3-ubyte filter=lfs diff=lfs merge=lfs -text
46
+ PF-MNIST/temp/mnist/MNIST/raw/t10k-images-idx3-ubyte filter=lfs diff=lfs merge=lfs -text
47
+ PF-MNIST/temp/mnist/MNIST/raw/train-images-idx3-ubyte filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
DDIM-FMNIST/.hydra/config.yaml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset:
2
+ dataset: FMNIST
3
+ image_size: 32
4
+ channels: 1
5
+ sample:
6
+ method: ${method}
7
+ model_path: YOUR PATH of pretrained ckpt
8
+ image_output_path: out
9
+ batch_size: 5
10
+ total_num: 100
11
+ work_dir: ${hydra:runtime.cwd}
12
+ method: F-PNDM
13
+ sample_speed: 50
14
+ seed: 42
15
+ model:
16
+ _target_: src.model.DDIM.Model
17
+ type: simple
18
+ resolution: 32
19
+ in_channels: 1
20
+ out_ch: 1
21
+ ch: 128
22
+ ch_mult:
23
+ - 1
24
+ - 1
25
+ - 1
26
+ - 1
27
+ num_res_blocks: 2
28
+ attn_resolutions:
29
+ - 16
30
+ dropout: 0.1
31
+ resamp_with_conv: true
32
+ scheduler:
33
+ _target_: src.trainer.scheduler.Schedule
34
+ beta_start: 0.0001
35
+ beta_end: 0.02
36
+ diffusion_step: 1000
37
+ train:
38
+ optim_cfg:
39
+ weight_decay: 0.0
40
+ optimizer: adam
41
+ lr: 0.0002
42
+ beta1: 0.9
43
+ amsgrad: false
44
+ eps: 1.0e-08
45
+ grad_clip: 1.0
46
+ epochs: 100
47
+ ema_rate: 0.9999
48
+ use_ema: true
49
+ batch_size: 2048
50
+ num_workers: 6
51
+ save_path: ./save_ckpt
DDIM-FMNIST/.hydra/hydra.yaml ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: outputs/${now:%Y-%m-%d}/${now:%H-%M-%S}
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ colorlog:
72
+ (): colorlog.ColoredFormatter
73
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(purple)sHYDRA%(reset)s] %(message)s'
74
+ handlers:
75
+ console:
76
+ class: logging.StreamHandler
77
+ formatter: colorlog
78
+ stream: ext://sys.stdout
79
+ root:
80
+ level: INFO
81
+ handlers:
82
+ - console
83
+ disable_existing_loggers: false
84
+ job_logging:
85
+ version: 1
86
+ formatters:
87
+ simple:
88
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
89
+ colorlog:
90
+ (): colorlog.ColoredFormatter
91
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(blue)s%(name)s%(reset)s][%(log_color)s%(levelname)s%(reset)s]
92
+ - %(message)s'
93
+ log_colors:
94
+ DEBUG: purple
95
+ INFO: green
96
+ WARNING: yellow
97
+ ERROR: red
98
+ CRITICAL: red
99
+ handlers:
100
+ console:
101
+ class: logging.StreamHandler
102
+ formatter: colorlog
103
+ stream: ext://sys.stdout
104
+ file:
105
+ class: logging.FileHandler
106
+ formatter: simple
107
+ filename: ${hydra.job.name}.log
108
+ root:
109
+ level: INFO
110
+ handlers:
111
+ - console
112
+ - file
113
+ disable_existing_loggers: false
114
+ env: {}
115
+ mode: RUN
116
+ searchpath: []
117
+ callbacks: {}
118
+ output_subdir: .hydra
119
+ overrides:
120
+ hydra:
121
+ - hydra.mode=RUN
122
+ task:
123
+ - train=optim
124
+ - dataset.dataset=FMNIST
125
+ job:
126
+ name: run
127
+ chdir: null
128
+ override_dirname: dataset.dataset=FMNIST,train=optim
129
+ id: ???
130
+ num: ???
131
+ config_name: config
132
+ env_set: {}
133
+ env_copy: []
134
+ config:
135
+ override_dirname:
136
+ kv_sep: '='
137
+ item_sep: ','
138
+ exclude_keys: []
139
+ runtime:
140
+ version: 1.3.2
141
+ version_base: '1.1'
142
+ cwd: /home/ubuntu/derek-240306/jxu/PNDM
143
+ config_sources:
144
+ - path: hydra.conf
145
+ schema: pkg
146
+ provider: hydra
147
+ - path: /home/ubuntu/derek-240306/jxu/PNDM/cfg
148
+ schema: file
149
+ provider: main
150
+ - path: hydra_plugins.hydra_colorlog.conf
151
+ schema: pkg
152
+ provider: hydra-colorlog
153
+ - path: ''
154
+ schema: structured
155
+ provider: schema
156
+ output_dir: /home/ubuntu/derek-240306/jxu/PNDM/outputs/2024-05-06/07-09-24
157
+ choices:
158
+ train: optim
159
+ scheduler: schedule
160
+ model: DDIM
161
+ hydra/env: default
162
+ hydra/callbacks: null
163
+ hydra/job_logging: colorlog
164
+ hydra/hydra_logging: colorlog
165
+ hydra/hydra_help: default
166
+ hydra/help: default
167
+ hydra/sweeper: basic
168
+ hydra/launcher: basic
169
+ hydra/output: default
170
+ verbose: false
DDIM-FMNIST/.hydra/overrides.yaml ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ - train=optim
2
+ - dataset.dataset=FMNIST
DDIM-FMNIST/run.log ADDED
File without changes
DDIM-FMNIST/save_ckpt/ema.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:648e1acd65cbfe05b6969029dc1d7966ca89b622bccb8e70f90f7fd609b467d4
3
+ size 47007294
DDIM-FMNIST/save_ckpt/train.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6c45f9debdf5877bd659778bee9896d150f6a88ddb5d092b47600ff62e9220f
3
+ size 141120122
DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/t10k-images-idx3-ubyte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b4141f0afbad91edebe8549f8fcffe087ea10ca49f1dbef5c9a5cd8815ce37b
3
+ size 7840016
DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/t10k-images-idx3-ubyte.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:346e55b948d973a97e58d2351dde16a484bd415d4595297633bb08f03db6a073
3
+ size 4422102
DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/t10k-labels-idx1-ubyte ADDED
Binary file (10 kB). View file
 
DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/t10k-labels-idx1-ubyte.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67da17c76eaffca5446c3361aaab5c3cd6d1c2608764d35dfb1850b086bf8dd5
3
+ size 5148
DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/train-images-idx3-ubyte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c59f468a2f672dc815687fe0f83887768d799fd8a3f3276145d20f83aa44d888
3
+ size 47040016
DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/train-images-idx3-ubyte.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3aede38d61863908ad78613f6a32ed271626dd12800ba2636569512369268a84
3
+ size 26421880
DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/train-labels-idx1-ubyte ADDED
Binary file (60 kB). View file
 
DDIM-FMNIST/temp/f-mnist/FashionMNIST/raw/train-labels-idx1-ubyte.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a04f17134ac03560a47e3764e11b92fc97de4d1bfaf8ba1a3aa29af54cc90845
3
+ size 29515
DDIM-FMNIST/temp/tensorboard/0506-0709/events.out.tfevents.1714979375.104-171-202-108.2443841.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43afc917604bbc5f690633168e6cce92bc3a1d3ad261c17d00c11a0d48aa0675
3
+ size 111384
DDIM-KMNIST/.hydra/config.yaml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset:
2
+ dataset: KMNIST
3
+ image_size: 32
4
+ channels: 1
5
+ sample:
6
+ method: ${method}
7
+ model_path: YOUR PATH of pretrained ckpt
8
+ image_output_path: out
9
+ batch_size: 5
10
+ total_num: 100
11
+ work_dir: ${hydra:runtime.cwd}
12
+ method: F-PNDM
13
+ sample_speed: 50
14
+ seed: 42
15
+ model:
16
+ _target_: src.model.DDIM.Model
17
+ type: simple
18
+ resolution: 32
19
+ in_channels: 1
20
+ out_ch: 1
21
+ ch: 128
22
+ ch_mult:
23
+ - 1
24
+ - 1
25
+ - 1
26
+ - 1
27
+ num_res_blocks: 2
28
+ attn_resolutions:
29
+ - 16
30
+ dropout: 0.1
31
+ resamp_with_conv: true
32
+ scheduler:
33
+ _target_: src.trainer.scheduler.Schedule
34
+ beta_start: 0.0001
35
+ beta_end: 0.02
36
+ diffusion_step: 1000
37
+ train:
38
+ optim_cfg:
39
+ weight_decay: 0.0
40
+ optimizer: adam
41
+ lr: 0.0002
42
+ beta1: 0.9
43
+ amsgrad: false
44
+ eps: 1.0e-08
45
+ grad_clip: 1.0
46
+ epochs: 100
47
+ ema_rate: 0.9999
48
+ use_ema: true
49
+ batch_size: 2048
50
+ num_workers: 6
51
+ save_path: ./save_ckpt
DDIM-KMNIST/.hydra/hydra.yaml ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: outputs/${now:%Y-%m-%d}/${now:%H-%M-%S}
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ colorlog:
72
+ (): colorlog.ColoredFormatter
73
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(purple)sHYDRA%(reset)s] %(message)s'
74
+ handlers:
75
+ console:
76
+ class: logging.StreamHandler
77
+ formatter: colorlog
78
+ stream: ext://sys.stdout
79
+ root:
80
+ level: INFO
81
+ handlers:
82
+ - console
83
+ disable_existing_loggers: false
84
+ job_logging:
85
+ version: 1
86
+ formatters:
87
+ simple:
88
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
89
+ colorlog:
90
+ (): colorlog.ColoredFormatter
91
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(blue)s%(name)s%(reset)s][%(log_color)s%(levelname)s%(reset)s]
92
+ - %(message)s'
93
+ log_colors:
94
+ DEBUG: purple
95
+ INFO: green
96
+ WARNING: yellow
97
+ ERROR: red
98
+ CRITICAL: red
99
+ handlers:
100
+ console:
101
+ class: logging.StreamHandler
102
+ formatter: colorlog
103
+ stream: ext://sys.stdout
104
+ file:
105
+ class: logging.FileHandler
106
+ formatter: simple
107
+ filename: ${hydra.job.name}.log
108
+ root:
109
+ level: INFO
110
+ handlers:
111
+ - console
112
+ - file
113
+ disable_existing_loggers: false
114
+ env: {}
115
+ mode: RUN
116
+ searchpath: []
117
+ callbacks: {}
118
+ output_subdir: .hydra
119
+ overrides:
120
+ hydra:
121
+ - hydra.mode=RUN
122
+ task:
123
+ - train=optim
124
+ - dataset.dataset=KMNIST
125
+ job:
126
+ name: run
127
+ chdir: null
128
+ override_dirname: dataset.dataset=KMNIST,train=optim
129
+ id: ???
130
+ num: ???
131
+ config_name: config
132
+ env_set: {}
133
+ env_copy: []
134
+ config:
135
+ override_dirname:
136
+ kv_sep: '='
137
+ item_sep: ','
138
+ exclude_keys: []
139
+ runtime:
140
+ version: 1.3.2
141
+ version_base: '1.1'
142
+ cwd: /home/ubuntu/derek-240306/jxu/PNDM
143
+ config_sources:
144
+ - path: hydra.conf
145
+ schema: pkg
146
+ provider: hydra
147
+ - path: /home/ubuntu/derek-240306/jxu/PNDM/cfg
148
+ schema: file
149
+ provider: main
150
+ - path: hydra_plugins.hydra_colorlog.conf
151
+ schema: pkg
152
+ provider: hydra-colorlog
153
+ - path: ''
154
+ schema: structured
155
+ provider: schema
156
+ output_dir: /home/ubuntu/derek-240306/jxu/PNDM/outputs/2024-05-06/01-24-04
157
+ choices:
158
+ train: optim
159
+ scheduler: schedule
160
+ model: DDIM
161
+ hydra/env: default
162
+ hydra/callbacks: null
163
+ hydra/job_logging: colorlog
164
+ hydra/hydra_logging: colorlog
165
+ hydra/hydra_help: default
166
+ hydra/help: default
167
+ hydra/sweeper: basic
168
+ hydra/launcher: basic
169
+ hydra/output: default
170
+ verbose: false
DDIM-KMNIST/.hydra/overrides.yaml ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ - train=optim
2
+ - dataset.dataset=KMNIST
DDIM-KMNIST/run.log ADDED
File without changes
DDIM-KMNIST/save_ckpt/ema.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3794248d58e446c540c5b63bdd6806efb5251f49546c5eed34cf6b50de1fb4d7
3
+ size 47007294
DDIM-KMNIST/save_ckpt/train.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53df8886ec15b1e2a47262f7a433eee864f8197e126741638de192cfa6a2052b
3
+ size 141120122
DDIM-KMNIST/temp/kmnist/KMNIST/raw/t10k-images-idx3-ubyte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76fbd229ce87db80dd281af5e6670de4ad0e42fb30a7bd643972994c47c1f42e
3
+ size 7840016
DDIM-KMNIST/temp/kmnist/KMNIST/raw/t10k-images-idx3-ubyte.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:edd7a857845ad6bb1d0ba43fe7e794d164fe2dce499a1694695a792adfac43c5
3
+ size 3041136
DDIM-KMNIST/temp/kmnist/KMNIST/raw/t10k-labels-idx1-ubyte ADDED
Binary file (10 kB). View file
 
DDIM-KMNIST/temp/kmnist/KMNIST/raw/t10k-labels-idx1-ubyte.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20bb9a0ef54c7db3efc55a92eef5582c109615df22683c380526788f98e42a1c
3
+ size 5120
DDIM-KMNIST/temp/kmnist/KMNIST/raw/train-images-idx3-ubyte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7112ba9ec422d98de4885262d4a4dff14cc4fefb81c11ace8bf563a8255df5c3
3
+ size 47040016
DDIM-KMNIST/temp/kmnist/KMNIST/raw/train-images-idx3-ubyte.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51467d22d8cc72929e2a028a0428f2086b092bb31cfb79c69cc0a90ce135fde4
3
+ size 18165135
DDIM-KMNIST/temp/kmnist/KMNIST/raw/train-labels-idx1-ubyte ADDED
Binary file (60 kB). View file
 
DDIM-KMNIST/temp/kmnist/KMNIST/raw/train-labels-idx1-ubyte.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e38f9ebcd0f3ebcdec7fc8eabdcdaef93bb0df8ea12bee65224341c8183d8e17
3
+ size 29497
DDIM-KMNIST/temp/tensorboard/0506-0124/events.out.tfevents.1714958669.104-171-202-108.2349600.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c37eb035b0449aad1c69efbb63ca098528abbfe8008e2bf305ceb64fc4b6d131
3
+ size 132134
DDIM-MNIST/.hydra/config.yaml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset:
2
+ dataset: MNIST
3
+ image_size: 32
4
+ channels: 1
5
+ sample:
6
+ method: ${method}
7
+ model_path: YOUR PATH of pretrained ckpt
8
+ image_output_path: out
9
+ batch_size: 5
10
+ total_num: 100
11
+ work_dir: ${hydra:runtime.cwd}
12
+ method: F-PNDM
13
+ sample_speed: 50
14
+ seed: 42
15
+ model:
16
+ _target_: src.model.DDIM.Model
17
+ type: simple
18
+ resolution: 32
19
+ in_channels: 1
20
+ out_ch: 1
21
+ ch: 128
22
+ ch_mult:
23
+ - 1
24
+ - 1
25
+ - 1
26
+ - 1
27
+ num_res_blocks: 2
28
+ attn_resolutions:
29
+ - 16
30
+ dropout: 0.1
31
+ resamp_with_conv: true
32
+ scheduler:
33
+ _target_: src.trainer.scheduler.Schedule
34
+ beta_start: 0.0001
35
+ beta_end: 0.02
36
+ diffusion_step: 1000
37
+ train:
38
+ optim_cfg:
39
+ weight_decay: 0.0
40
+ optimizer: adam
41
+ lr: 0.0002
42
+ beta1: 0.9
43
+ amsgrad: false
44
+ eps: 1.0e-08
45
+ grad_clip: 1.0
46
+ epochs: 100
47
+ ema_rate: 0.9999
48
+ use_ema: true
49
+ batch_size: 2048
50
+ num_workers: 6
51
+ save_path: ./save_ckpt
DDIM-MNIST/.hydra/hydra.yaml ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: outputs/${now:%Y-%m-%d}/${now:%H-%M-%S}
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ colorlog:
72
+ (): colorlog.ColoredFormatter
73
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(purple)sHYDRA%(reset)s] %(message)s'
74
+ handlers:
75
+ console:
76
+ class: logging.StreamHandler
77
+ formatter: colorlog
78
+ stream: ext://sys.stdout
79
+ root:
80
+ level: INFO
81
+ handlers:
82
+ - console
83
+ disable_existing_loggers: false
84
+ job_logging:
85
+ version: 1
86
+ formatters:
87
+ simple:
88
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
89
+ colorlog:
90
+ (): colorlog.ColoredFormatter
91
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(blue)s%(name)s%(reset)s][%(log_color)s%(levelname)s%(reset)s]
92
+ - %(message)s'
93
+ log_colors:
94
+ DEBUG: purple
95
+ INFO: green
96
+ WARNING: yellow
97
+ ERROR: red
98
+ CRITICAL: red
99
+ handlers:
100
+ console:
101
+ class: logging.StreamHandler
102
+ formatter: colorlog
103
+ stream: ext://sys.stdout
104
+ file:
105
+ class: logging.FileHandler
106
+ formatter: simple
107
+ filename: ${hydra.job.name}.log
108
+ root:
109
+ level: INFO
110
+ handlers:
111
+ - console
112
+ - file
113
+ disable_existing_loggers: false
114
+ env: {}
115
+ mode: RUN
116
+ searchpath: []
117
+ callbacks: {}
118
+ output_subdir: .hydra
119
+ overrides:
120
+ hydra:
121
+ - hydra.mode=RUN
122
+ task:
123
+ - train=optim
124
+ job:
125
+ name: run
126
+ chdir: null
127
+ override_dirname: train=optim
128
+ id: ???
129
+ num: ???
130
+ config_name: config
131
+ env_set: {}
132
+ env_copy: []
133
+ config:
134
+ override_dirname:
135
+ kv_sep: '='
136
+ item_sep: ','
137
+ exclude_keys: []
138
+ runtime:
139
+ version: 1.3.2
140
+ version_base: '1.1'
141
+ cwd: /home/ubuntu/derek-240306/jxu/PNDM
142
+ config_sources:
143
+ - path: hydra.conf
144
+ schema: pkg
145
+ provider: hydra
146
+ - path: /home/ubuntu/derek-240306/jxu/PNDM/cfg
147
+ schema: file
148
+ provider: main
149
+ - path: hydra_plugins.hydra_colorlog.conf
150
+ schema: pkg
151
+ provider: hydra-colorlog
152
+ - path: ''
153
+ schema: structured
154
+ provider: schema
155
+ output_dir: /home/ubuntu/derek-240306/jxu/PNDM/outputs/2024-05-06/02-28-17
156
+ choices:
157
+ train: optim
158
+ scheduler: schedule
159
+ model: DDIM
160
+ hydra/env: default
161
+ hydra/callbacks: null
162
+ hydra/job_logging: colorlog
163
+ hydra/hydra_logging: colorlog
164
+ hydra/hydra_help: default
165
+ hydra/help: default
166
+ hydra/sweeper: basic
167
+ hydra/launcher: basic
168
+ hydra/output: default
169
+ verbose: false
DDIM-MNIST/.hydra/overrides.yaml ADDED
@@ -0,0 +1 @@
 
 
1
+ - train=optim
DDIM-MNIST/run.log ADDED
File without changes
DDIM-MNIST/save_ckpt/ema.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2877c0d5b0fb5df52af8b6b85eb88eb79afba7c9a0de08cfdca46e8d8a5e8ee
3
+ size 47007294
DDIM-MNIST/save_ckpt/train.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b54a02d0dbeb1bc606186667a154a6cb5254405c5cff2d854283cae756a7e623
3
+ size 141120122
DDIM-MNIST/temp/mnist/MNIST/raw/t10k-images-idx3-ubyte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fa7898d509279e482958e8ce81c8e77db3f2f8254e26661ceb7762c4d494ce7
3
+ size 7840016
DDIM-MNIST/temp/mnist/MNIST/raw/t10k-images-idx3-ubyte.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d422c7b0a1c1c79245a5bcf07fe86e33eeafee792b84584aec276f5a2dbc4e6
3
+ size 1648877
DDIM-MNIST/temp/mnist/MNIST/raw/t10k-labels-idx1-ubyte ADDED
Binary file (10 kB). View file
 
DDIM-MNIST/temp/mnist/MNIST/raw/t10k-labels-idx1-ubyte.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7ae60f92e00ec6debd23a6088c31dbd2371eca3ffa0defaefb259924204aec6
3
+ size 4542
DDIM-MNIST/temp/mnist/MNIST/raw/train-images-idx3-ubyte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba891046e6505d7aadcbbe25680a0738ad16aec93bde7f9b65e87a2fc25776db
3
+ size 47040016
DDIM-MNIST/temp/mnist/MNIST/raw/train-images-idx3-ubyte.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:440fcabf73cc546fa21475e81ea370265605f56be210a4024d2ca8f203523609
3
+ size 9912422
DDIM-MNIST/temp/mnist/MNIST/raw/train-labels-idx1-ubyte ADDED
Binary file (60 kB). View file
 
DDIM-MNIST/temp/mnist/MNIST/raw/train-labels-idx1-ubyte.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3552534a0a558bbed6aed32b30c495cca23d567ec52cac8be1a0730e8010255c
3
+ size 28881
DDIM-MNIST/temp/tensorboard/0506-0228/events.out.tfevents.1714962501.104-171-202-108.2391814.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6b7b0b93a71f7f83945e4b25850346669284be69db784d26a373a61540d1c11
3
+ size 114669
PF-FMNIST/.hydra/config.yaml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset:
2
+ dataset: FMNIST
3
+ image_size: 32
4
+ channels: 1
5
+ sample:
6
+ method: ${method}
7
+ model_path: YOUR PATH of pretrained ckpt
8
+ image_output_path: out
9
+ batch_size: 5
10
+ total_num: 100
11
+ work_dir: ${hydra:runtime.cwd}
12
+ method: F-PNDM
13
+ sample_speed: 50
14
+ seed: 42
15
+ model:
16
+ _target_: src.model.scoresde.ddpm.DDPM
17
+ nf: 128
18
+ ch_mult:
19
+ - 1
20
+ - 2
21
+ - 2
22
+ - 2
23
+ num_res_blocks: 2
24
+ attn_resolutions:
25
+ - 16
26
+ dropout: 0.1
27
+ num_channels: 1
28
+ resamp_with_conv: true
29
+ image_size: 32
30
+ conditional: true
31
+ centered: true
32
+ scheduler:
33
+ _target_: src.trainer.scheduler.Schedule
34
+ beta_start: 0.0001
35
+ beta_end: 0.02
36
+ diffusion_step: 1000
37
+ train:
38
+ optim_cfg:
39
+ weight_decay: 0.0
40
+ optimizer: adam
41
+ lr: 0.0002
42
+ beta1: 0.9
43
+ amsgrad: false
44
+ eps: 1.0e-08
45
+ grad_clip: 1.0
46
+ epochs: 100
47
+ ema_rate: 0.9999
48
+ use_ema: true
49
+ batch_size: 1024
50
+ num_workers: 6
51
+ save_path: ./save_ckpt
PF-FMNIST/.hydra/hydra.yaml ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: outputs/${now:%Y-%m-%d}/${now:%H-%M-%S}
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ colorlog:
72
+ (): colorlog.ColoredFormatter
73
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(purple)sHYDRA%(reset)s] %(message)s'
74
+ handlers:
75
+ console:
76
+ class: logging.StreamHandler
77
+ formatter: colorlog
78
+ stream: ext://sys.stdout
79
+ root:
80
+ level: INFO
81
+ handlers:
82
+ - console
83
+ disable_existing_loggers: false
84
+ job_logging:
85
+ version: 1
86
+ formatters:
87
+ simple:
88
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
89
+ colorlog:
90
+ (): colorlog.ColoredFormatter
91
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(blue)s%(name)s%(reset)s][%(log_color)s%(levelname)s%(reset)s]
92
+ - %(message)s'
93
+ log_colors:
94
+ DEBUG: purple
95
+ INFO: green
96
+ WARNING: yellow
97
+ ERROR: red
98
+ CRITICAL: red
99
+ handlers:
100
+ console:
101
+ class: logging.StreamHandler
102
+ formatter: colorlog
103
+ stream: ext://sys.stdout
104
+ file:
105
+ class: logging.FileHandler
106
+ formatter: simple
107
+ filename: ${hydra.job.name}.log
108
+ root:
109
+ level: INFO
110
+ handlers:
111
+ - console
112
+ - file
113
+ disable_existing_loggers: false
114
+ env: {}
115
+ mode: RUN
116
+ searchpath: []
117
+ callbacks: {}
118
+ output_subdir: .hydra
119
+ overrides:
120
+ hydra:
121
+ - hydra.mode=RUN
122
+ task:
123
+ - train=optim
124
+ - dataset.dataset=FMNIST
125
+ - model=PF
126
+ - train.batch_size=1024
127
+ job:
128
+ name: run
129
+ chdir: null
130
+ override_dirname: dataset.dataset=FMNIST,model=PF,train.batch_size=1024,train=optim
131
+ id: ???
132
+ num: ???
133
+ config_name: config
134
+ env_set: {}
135
+ env_copy: []
136
+ config:
137
+ override_dirname:
138
+ kv_sep: '='
139
+ item_sep: ','
140
+ exclude_keys: []
141
+ runtime:
142
+ version: 1.3.2
143
+ version_base: '1.1'
144
+ cwd: /home/ubuntu/derek-240306/jxu/PNDM
145
+ config_sources:
146
+ - path: hydra.conf
147
+ schema: pkg
148
+ provider: hydra
149
+ - path: /home/ubuntu/derek-240306/jxu/PNDM/cfg
150
+ schema: file
151
+ provider: main
152
+ - path: hydra_plugins.hydra_colorlog.conf
153
+ schema: pkg
154
+ provider: hydra-colorlog
155
+ - path: ''
156
+ schema: structured
157
+ provider: schema
158
+ output_dir: /home/ubuntu/derek-240306/jxu/PNDM/outputs/2024-05-06/08-11-28
159
+ choices:
160
+ train: optim
161
+ scheduler: schedule
162
+ model: PF
163
+ hydra/env: default
164
+ hydra/callbacks: null
165
+ hydra/job_logging: colorlog
166
+ hydra/hydra_logging: colorlog
167
+ hydra/hydra_help: default
168
+ hydra/help: default
169
+ hydra/sweeper: basic
170
+ hydra/launcher: basic
171
+ hydra/output: default
172
+ verbose: false
PF-FMNIST/.hydra/overrides.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ - train=optim
2
+ - dataset.dataset=FMNIST
3
+ - model=PF
4
+ - train.batch_size=1024
PF-FMNIST/run.log ADDED
File without changes