-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for single channel and flipping.
- Loading branch information
Showing
5 changed files
with
63 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# python scripts/recon/train_learning_based.py -cn train_mirflickr_tape | ||
defaults: | ||
- train_unrolledADMM | ||
- _self_ | ||
|
||
torch_device: 'cuda:0' | ||
device_ids: [0, 1, 2, 3] | ||
eval_disp_idx: [0, 1, 3, 4, 8] | ||
|
||
# Dataset | ||
files: | ||
dataset: bezzam/DiffuserCam-Lensless-Mirflickr-Dataset-NORM | ||
huggingface_dataset: True | ||
huggingface_psf: psf.tiff | ||
single_channel_psf: True | ||
downsample: 2 # factor by which to downsample the PSF, note that for DiffuserCam the PSF has 4x the resolution | ||
downsample_lensed: 2 # only used if lensed if measured | ||
flipud: True | ||
flip_lensed: True | ||
|
||
training: | ||
batch_size: 4 | ||
epoch: 25 | ||
eval_batch_size: 4 | ||
|
||
reconstruction: | ||
method: unrolled_admm | ||
unrolled_admm: | ||
n_iter: 5 | ||
pre_process: | ||
network : UnetRes # UnetRes or DruNet or null | ||
depth : 4 # depth of each up/downsampling layer. Ignore if network is DruNet | ||
nc: [32,64,116,128] | ||
post_process: | ||
network : UnetRes # UnetRes or DruNet or null | ||
depth : 4 # depth of each up/downsampling layer. Ignore if network is DruNet | ||
nc: [32,64,116,128] |
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