-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
375 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# python scripts/eval/benchmark_recon.py -cn benchmark_digicam_mirflickr_pnp | ||
defaults: | ||
- benchmark | ||
- _self_ | ||
|
||
|
||
dataset: HFDataset | ||
batchsize: 1 | ||
device: "cuda:0" | ||
|
||
huggingface: | ||
repo: "bezzam/DigiCam-Mirflickr-MultiMask-25K" | ||
psf: null # null for simulating PSF | ||
image_res: [900, 1200] # used during measurement | ||
rotate: True # if measurement is upside-down | ||
flipud: False | ||
flip_lensed: False # if rotate or flipud is True, apply to lensed | ||
alignment: | ||
top_left: [80, 100] # height, width | ||
height: 200 | ||
downsample: 1 | ||
|
||
algorithms: [ | ||
"hf:digicam:mirflickr_single_25k:Unet4M+U5+Unet4M_wave_psfNN", | ||
"hf:digicam:mirflickr_multi_25k:Unet4M+U5+Unet4M_wave_psfNN", | ||
] | ||
|
||
pnp: | ||
mu: 1e-3 # weight for distance from original model parameters | ||
model_path: null # leave null to be overwritten in script | ||
# lr: 1e-2 | ||
# n_iter: 10 | ||
lr: 3e-3 # learning rate for SGD | ||
n_iter: 10 # number of iterations | ||
|
||
|
||
save_idx: [1, 2, 4, 5, 9, 24, 33, 61] | ||
|
||
# simulating PSF | ||
simulation: | ||
use_waveprop: True | ||
deadspace: True | ||
scene2mask: 0.3 | ||
mask2sensor: 0.002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# python scripts/recon/train_learning_based.py -cn train_mirflickr_diffuser_sim | ||
defaults: | ||
- train_mirflickr_diffuser | ||
- _self_ | ||
|
||
torch_device: 'cuda:0' | ||
device_ids: [0, 1, 2, 3] | ||
eval_disp_idx: [0, 1, 3, 4, 8] | ||
|
||
# Dataset | ||
files: | ||
hf_simulated: True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.