Upload 31 files
Browse files- .hydra/config.yaml +59 -0
- .hydra/hydra.yaml +160 -0
- .hydra/overrides.yaml +6 -0
- ADMM/10/0.png +0 -0
- ADMM/10/1.png +0 -0
- ADMM/10/2.png +0 -0
- ADMM/10/3.png +0 -0
- ADMM/10/4.png +0 -0
- ADMM/100/0.png +0 -0
- ADMM/100/1.png +0 -0
- ADMM/100/2.png +0 -0
- ADMM/100/3.png +0 -0
- ADMM/100/4.png +0 -0
- ADMM/20/0.png +0 -0
- ADMM/20/1.png +0 -0
- ADMM/20/2.png +0 -0
- ADMM/20/3.png +0 -0
- ADMM/20/4.png +0 -0
- GROUND_TRUTH/0.png +0 -0
- GROUND_TRUTH/1.png +0 -0
- GROUND_TRUTH/2.png +0 -0
- GROUND_TRUTH/3.png +0 -0
- GROUND_TRUTH/4.png +0 -0
- LPIPS_Alex.png +0 -0
- LPIPS_Vgg.png +0 -0
- MSE.png +0 -0
- PSNR.png +0 -0
- ReconstructionError.png +0 -0
- SSIM.png +0 -0
- benchmark_recon.log +0 -0
- results.json +31 -0
.hydra/config.yaml
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
dataset: DigiCamCelebA
|
2 |
+
seed: 0
|
3 |
+
device: cuda
|
4 |
+
n_iter_range:
|
5 |
+
- 10
|
6 |
+
- 20
|
7 |
+
- 100
|
8 |
+
n_files: null
|
9 |
+
downsample: 2
|
10 |
+
algorithms:
|
11 |
+
- ADMM
|
12 |
+
baseline: MONAKHOVA 100iter
|
13 |
+
save_idx:
|
14 |
+
- 0
|
15 |
+
- 1
|
16 |
+
- 2
|
17 |
+
- 3
|
18 |
+
- 4
|
19 |
+
nesterov:
|
20 |
+
p: 0
|
21 |
+
mu: 0.9
|
22 |
+
fista:
|
23 |
+
tk: 1
|
24 |
+
admm:
|
25 |
+
mu1: 1.0e-06
|
26 |
+
mu2: 1.0e-05
|
27 |
+
mu3: 4.0e-05
|
28 |
+
tau: 0.0001
|
29 |
+
files:
|
30 |
+
test_size: 0.15
|
31 |
+
downsample: 2
|
32 |
+
celeba_root: /scratch/bezzam
|
33 |
+
dataset: /scratch/bezzam/celeba/celeba_adafruit_random_30cm_2mm_20231004_26K
|
34 |
+
psf: outputs/2023-10-25/09-40-03/adafruit_random_pattern_20231004_174047_SIM_psf.png
|
35 |
+
vertical_shift: -117
|
36 |
+
horizontal_shift: -25
|
37 |
+
crop:
|
38 |
+
vertical:
|
39 |
+
- 0
|
40 |
+
- 525
|
41 |
+
horizontal:
|
42 |
+
- 265
|
43 |
+
- 695
|
44 |
+
simulation:
|
45 |
+
grayscale: false
|
46 |
+
output_dim: null
|
47 |
+
object_height: 0.33
|
48 |
+
flip: true
|
49 |
+
random_shift: false
|
50 |
+
random_vflip: 0.5
|
51 |
+
random_hflip: 0.5
|
52 |
+
random_rotate: false
|
53 |
+
scene2mask: 0.25
|
54 |
+
mask2sensor: 0.002
|
55 |
+
sensor: rpi_hq
|
56 |
+
snr_db: 10
|
57 |
+
downsample: 8
|
58 |
+
quantize: false
|
59 |
+
max_val: 255
|
.hydra/hydra.yaml
ADDED
@@ -0,0 +1,160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
hydra:
|
2 |
+
run:
|
3 |
+
dir: benchmark/${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 |
+
- n_iter_range=[10,20,100]
|
116 |
+
- algorithms=[ADMM]
|
117 |
+
- dataset=DigiCamCelebA
|
118 |
+
- files.downsample=2
|
119 |
+
- files.psf=outputs/2023-10-25/09-40-03/adafruit_random_pattern_20231004_174047_SIM_psf.png
|
120 |
+
- n_files=null
|
121 |
+
job:
|
122 |
+
name: benchmark_recon
|
123 |
+
chdir: true
|
124 |
+
override_dirname: algorithms=[ADMM],dataset=DigiCamCelebA,files.downsample=2,files.psf=outputs/2023-10-25/09-40-03/adafruit_random_pattern_20231004_174047_SIM_psf.png,n_files=null,n_iter_range=[10,20,100]
|
125 |
+
id: ???
|
126 |
+
num: ???
|
127 |
+
config_name: benchmark
|
128 |
+
env_set: {}
|
129 |
+
env_copy: []
|
130 |
+
config:
|
131 |
+
override_dirname:
|
132 |
+
kv_sep: '='
|
133 |
+
item_sep: ','
|
134 |
+
exclude_keys: []
|
135 |
+
runtime:
|
136 |
+
version: 1.3.2
|
137 |
+
version_base: '1.3'
|
138 |
+
cwd: /home/bezzam/LenslessPiCam
|
139 |
+
config_sources:
|
140 |
+
- path: hydra.conf
|
141 |
+
schema: pkg
|
142 |
+
provider: hydra
|
143 |
+
- path: /home/bezzam/LenslessPiCam/configs
|
144 |
+
schema: file
|
145 |
+
provider: main
|
146 |
+
- path: ''
|
147 |
+
schema: structured
|
148 |
+
provider: schema
|
149 |
+
output_dir: /home/bezzam/LenslessPiCam/benchmark/2023-10-25/09-44-33
|
150 |
+
choices:
|
151 |
+
hydra/env: default
|
152 |
+
hydra/callbacks: null
|
153 |
+
hydra/job_logging: default
|
154 |
+
hydra/hydra_logging: default
|
155 |
+
hydra/hydra_help: default
|
156 |
+
hydra/help: default
|
157 |
+
hydra/sweeper: basic
|
158 |
+
hydra/launcher: basic
|
159 |
+
hydra/output: default
|
160 |
+
verbose: false
|
.hydra/overrides.yaml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
- n_iter_range=[10,20,100]
|
2 |
+
- algorithms=[ADMM]
|
3 |
+
- dataset=DigiCamCelebA
|
4 |
+
- files.downsample=2
|
5 |
+
- files.psf=outputs/2023-10-25/09-40-03/adafruit_random_pattern_20231004_174047_SIM_psf.png
|
6 |
+
- n_files=null
|
ADMM/10/0.png
ADDED
ADMM/10/1.png
ADDED
ADMM/10/2.png
ADDED
ADMM/10/3.png
ADDED
ADMM/10/4.png
ADDED
ADMM/100/0.png
ADDED
ADMM/100/1.png
ADDED
ADMM/100/2.png
ADDED
ADMM/100/3.png
ADDED
ADMM/100/4.png
ADDED
ADMM/20/0.png
ADDED
ADMM/20/1.png
ADDED
ADMM/20/2.png
ADDED
ADMM/20/3.png
ADDED
ADMM/20/4.png
ADDED
GROUND_TRUTH/0.png
ADDED
GROUND_TRUTH/1.png
ADDED
GROUND_TRUTH/2.png
ADDED
GROUND_TRUTH/3.png
ADDED
GROUND_TRUTH/4.png
ADDED
LPIPS_Alex.png
ADDED
LPIPS_Vgg.png
ADDED
MSE.png
ADDED
PSNR.png
ADDED
ReconstructionError.png
ADDED
SSIM.png
ADDED
benchmark_recon.log
ADDED
File without changes
|
results.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"ADMM": {
|
3 |
+
"10": {
|
4 |
+
"MSE": 0.14032883473600333,
|
5 |
+
"MAE": 0.28787685830241594,
|
6 |
+
"LPIPS_Vgg": 0.7803440439548248,
|
7 |
+
"LPIPS_Alex": 0.7920083652398525,
|
8 |
+
"PSNR": 9.29805760016808,
|
9 |
+
"SSIM": 0.2700785265232508,
|
10 |
+
"ReconstructionError": 50.17288116846329
|
11 |
+
},
|
12 |
+
"20": {
|
13 |
+
"MSE": 0.13561662667024976,
|
14 |
+
"MAE": 0.2818479077575298,
|
15 |
+
"LPIPS_Vgg": 0.7787478433052699,
|
16 |
+
"LPIPS_Alex": 0.7890663267557437,
|
17 |
+
"PSNR": 9.462181247014266,
|
18 |
+
"SSIM": 0.27622991564182137,
|
19 |
+
"ReconstructionError": 54.87838654444768
|
20 |
+
},
|
21 |
+
"100": {
|
22 |
+
"MSE": 0.1231329185126397,
|
23 |
+
"MAE": 0.2629334131800211,
|
24 |
+
"LPIPS_Vgg": 0.7456659529606501,
|
25 |
+
"LPIPS_Alex": 0.7555670017004013,
|
26 |
+
"PSNR": 9.980666418748024,
|
27 |
+
"SSIM": 0.34262147487356115,
|
28 |
+
"ReconstructionError": 51.78338135841565
|
29 |
+
}
|
30 |
+
}
|
31 |
+
}
|