-
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
1 parent
741837b
commit 28fa3bf
Showing
5 changed files
with
95 additions
and
121 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,13 @@ | ||
# python scripts/recon/train_learning_based.py -cn train_mirflickr_tape | ||
defaults: | ||
- train_unrolledADMM | ||
- train_mirflickr_tape | ||
- _self_ | ||
|
||
torch_device: 'cuda:0' | ||
#device_ids: [0, 1, 2, 3] | ||
eval_disp_idx: [ 1, 2, 4, 5, 9 ] | ||
|
||
wandb_project: | ||
device_ids: | ||
|
||
|
||
# Dataset | ||
files: | ||
dataset: bezzam/TapeCam-Mirflickr-25K | ||
huggingface_dataset: True | ||
huggingface_psf: psf.png | ||
downsample: 1 | ||
# TODO: these parameters should be in the dataset? | ||
image_res: [ 900, 1200 ] # used during measurement | ||
rotate: False # if measurement is upside-down | ||
save_psf: True | ||
|
||
background_fp: "" | ||
background_snr_range: [ -10, 10 ] | ||
|
||
# TODO: these parameters should be in the dataset? | ||
alignment: | ||
# when there is no downsampling | ||
top_left: [ 45, 95 ] # height, width | ||
height: 250 | ||
|
||
training: | ||
batch_size: 4 | ||
epoch: 25 | ||
eval_batch_size: 4 | ||
|
||
reconstruction: | ||
method: unrolled_admm | ||
unrolled_admm: | ||
# Number of iterations | ||
n_iter: 5 | ||
# Hyperparameters | ||
mu1: 1e-4 | ||
mu2: 1e-4 | ||
mu3: 1e-4 | ||
tau: 2e-4 | ||
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 ] | ||
background_snr_range: [0,0] |
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