Skip to content

Commit

Permalink
other denoisplit data
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Salmon committed Aug 23, 2024
1 parent 76eba37 commit a771440
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
12 changes: 1 addition & 11 deletions 02_Noise2Void/solution.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<div class=\"alert alert-block alert-success\"><h1><b>Checkpoint 1: What is N2V really doing?</b></h1>\n",
"<div class=\"alert alert-block alert-success\"><h1><b>Checkpoint 1: N2V masking</b></h1>\n",
"</div>"
]
},
Expand Down Expand Up @@ -389,16 +389,6 @@
"careamist = CAREamist(source=training_config)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%load_ext tensorboard\n",
"%tensorboard --logdir logs/lightning_logs"
]
},
{
"attachments": {},
"cell_type": "markdown",
Expand Down
4 changes: 2 additions & 2 deletions 03_COSDD/solution.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@
"source": [
"<img src=\"resources/explainer.png\"/>\n",
"\n",
"COSDD is a Variational Autoencoder~\\cite{chenvariational} (solid arrows) trained to model the distribution of noisy images $\\mathbf{x}$. \n",
"COSDD is a Variational Autoencoder (solid arrows) trained to model the distribution of noisy images $\\mathbf{x}$. \n",
"The autoregressive (AR) decoder models the noise component of the images, while the latent variable models only the clean signal component $\\mathbf{s}$.\n",
"In a second step (dashed arrows), the \\emph{signal decoder} is trained to map latent variables into image space, producing an estimate of the signal underlying $\\mathbf{x}$.\n",
"{\\bf b):}\n",
Expand Down Expand Up @@ -757,7 +757,7 @@
"outputs": [],
"source": [
"lowsnr_path = \"./../data/mito-confocal-lowsnr.tif\"\n",
"n_test_images = 10\n",
"n_test_images = 5\n",
"# load the data\n",
"test_set = tifffile.imread(lowsnr_path)\n",
"test_set = test_set[:n_test_images, np.newaxis]\n",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ source setup.sh

1. [Context-aware restoration](01_CARE/care_exercise.ipynb)
2. [Noise2Void](02_Noise2Void/n2v_exercise.ipynb)
3. [COSDD](03_COSDD/exercise.ipynb)
3. [Correlated and Signal Dependent Denoising (COSDD)](03_COSDD/exercise.ipynb)
4. [DenoiSplit](04_DenoiSplit/exercise.ipynb)


Expand Down
14 changes: 14 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,20 @@ if [[ "$CONDA_DEFAULT_ENV" == "$ENV" ]]; then
mkdir ER/
cd ER/
gdown 1Bho6Oymfxi7OV0tPb9wkINkVOCpTaL7M
cd ../
mkdir Microtubules/
cd Microtubules/
gdown 14sPIEE2qU2J6oRFMz46v2IvkCVjFX8D1
cd ../
mkdir F-actin/
cd F-actin/
gdown 1FYO-Bpl5vjpiJ6kzV1qO1pL37Y3Dirfy
gdown 1DWcezoHxPClA1SDYdXKIHooiDiRldEyq
cd ../
mkdir F-actin_Nonlinear/
cd F-actin_Nonlinear/
gdown 1xwZH_XNbwXmq1HZGYXnePdRWP2yavgKg
gdown 1L_dpsEGWmMd4hEXbbmY8X2Gc-MMWUKLN
cd ../../
mkdir 03_COSDD/checkpoints
cd 03_COSDD/checkpoints
Expand Down

0 comments on commit a771440

Please sign in to comment.