bezzam commited on
Commit
a0a4735
·
verified ·
1 Parent(s): fa5cb3c

Upload 3 files

Browse files
Files changed (3) hide show
  1. .hydra/config.yaml +102 -0
  2. .hydra/hydra.yaml +155 -0
  3. .hydra/overrides.yaml +1 -0
.hydra/config.yaml ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ seed: 0
2
+ start_delay: null
3
+ files:
4
+ dataset: /scratch/bezzam/DiffuserCam_mirflickr/dataset
5
+ celeba_root: null
6
+ psf: data/psf/diffusercam_psf.tiff
7
+ diffusercam_psf: true
8
+ n_files: null
9
+ downsample: 2
10
+ test_size: 0.15
11
+ input_snr: null
12
+ vertical_shift: null
13
+ horizontal_shift: null
14
+ crop: null
15
+ torch: true
16
+ torch_device: cuda
17
+ measure: null
18
+ test_idx:
19
+ - 0
20
+ - 1
21
+ - 2
22
+ - 3
23
+ - 4
24
+ eval_disp_idx:
25
+ - 0
26
+ - 1
27
+ - 2
28
+ - 3
29
+ - 4
30
+ display:
31
+ plot: true
32
+ gamma: null
33
+ save: true
34
+ reconstruction:
35
+ method: unrolled_admm
36
+ skip_unrolled: false
37
+ unrolled_fista:
38
+ n_iter: 20
39
+ tk: 1
40
+ learn_tk: true
41
+ unrolled_admm:
42
+ n_iter: 20
43
+ mu1: 0.0001
44
+ mu2: 0.0001
45
+ mu3: 0.0001
46
+ tau: 0.0002
47
+ pre_process:
48
+ network: null
49
+ depth: 2
50
+ nc: null
51
+ delay: null
52
+ freeze: null
53
+ unfreeze: null
54
+ post_process:
55
+ network: null
56
+ depth: 2
57
+ nc: null
58
+ delay: null
59
+ freeze: null
60
+ unfreeze: null
61
+ train_last_layer: false
62
+ trainable_mask:
63
+ mask_type: null
64
+ initial_value: psf
65
+ grayscale: false
66
+ mask_lr: 0.001
67
+ L1_strength: 1.0
68
+ target: object_plane
69
+ simulation:
70
+ grayscale: false
71
+ output_dim: null
72
+ object_height: 0.04
73
+ flip: true
74
+ random_shift: false
75
+ random_vflip: 0.5
76
+ random_hflip: 0.5
77
+ random_rotate: false
78
+ scene2mask: 0.1
79
+ mask2sensor: 0.009
80
+ sensor: rpi_hq
81
+ snr_db: 10
82
+ downsample: 8
83
+ quantize: false
84
+ max_val: 255
85
+ training:
86
+ batch_size: 8
87
+ epoch: 25
88
+ eval_batch_size: 10
89
+ metric_for_best_model: null
90
+ save_every: null
91
+ skip_NAN: true
92
+ clip_grad: 1.0
93
+ crop_preloss: false
94
+ optimizer:
95
+ type: Adam
96
+ lr: 0.0001
97
+ slow_start: false
98
+ step: false
99
+ gamma: 0.1
100
+ loss: l2
101
+ lpips: 1.0
102
+ unrolled_output_factor: false
.hydra/hydra.yaml ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ simple:
72
+ format: '[%(asctime)s][HYDRA] %(message)s'
73
+ handlers:
74
+ console:
75
+ class: logging.StreamHandler
76
+ formatter: simple
77
+ stream: ext://sys.stdout
78
+ root:
79
+ level: INFO
80
+ handlers:
81
+ - console
82
+ loggers:
83
+ logging_example:
84
+ level: DEBUG
85
+ disable_existing_loggers: false
86
+ job_logging:
87
+ version: 1
88
+ formatters:
89
+ simple:
90
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
91
+ handlers:
92
+ console:
93
+ class: logging.StreamHandler
94
+ formatter: simple
95
+ stream: ext://sys.stdout
96
+ file:
97
+ class: logging.FileHandler
98
+ formatter: simple
99
+ filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
100
+ root:
101
+ level: INFO
102
+ handlers:
103
+ - console
104
+ - file
105
+ disable_existing_loggers: false
106
+ env: {}
107
+ mode: RUN
108
+ searchpath: []
109
+ callbacks: {}
110
+ output_subdir: .hydra
111
+ overrides:
112
+ hydra:
113
+ - hydra.mode=RUN
114
+ task:
115
+ - training.epoch=25
116
+ job:
117
+ name: train_unrolled
118
+ chdir: true
119
+ override_dirname: training.epoch=25
120
+ id: ???
121
+ num: ???
122
+ config_name: train_unrolledADMM
123
+ env_set: {}
124
+ env_copy: []
125
+ config:
126
+ override_dirname:
127
+ kv_sep: '='
128
+ item_sep: ','
129
+ exclude_keys: []
130
+ runtime:
131
+ version: 1.3.2
132
+ version_base: '1.3'
133
+ cwd: /home/bezzam/LenslessPiCam
134
+ config_sources:
135
+ - path: hydra.conf
136
+ schema: pkg
137
+ provider: hydra
138
+ - path: /home/bezzam/LenslessPiCam/configs
139
+ schema: file
140
+ provider: main
141
+ - path: ''
142
+ schema: structured
143
+ provider: schema
144
+ output_dir: /home/bezzam/LenslessPiCam/outputs/2024-01-15/18-17-48
145
+ choices:
146
+ hydra/env: default
147
+ hydra/callbacks: null
148
+ hydra/job_logging: default
149
+ hydra/hydra_logging: default
150
+ hydra/hydra_help: default
151
+ hydra/help: default
152
+ hydra/sweeper: basic
153
+ hydra/launcher: basic
154
+ hydra/output: default
155
+ verbose: false
.hydra/overrides.yaml ADDED
@@ -0,0 +1 @@
 
 
1
+ - training.epoch=25