A napari plugin performing joint denoising and segmentation
of microscopy images using DenoiSeg.
The plugins come with sample data that can be loaded into napari using File/Open sample/napari-denoiseg
. As the images
are downloaded from a remote server, the process can seem idle for a while before eventually loading the images as napari
layers.
In this section, we describe how to reproduce the results from the DenoiSeg Github repository using the napari plugins.
Important note: if you are using a GPU with little memory (e.g. 4 GB), then most of the shown settings will not work because the batches will probably not fit in memory. Try reducing the batch size while increasing the number of steps. This will obviously increase the running time.
The example notebook generates a configuration containing all the parameters used for training and reproducing the results in the DenoiSegConfig call:
In order to reproduce similar the result using the plugin, we then follow these steps:
File / Open sample / napari-denoiseg / Download 2D data (n20 noise)
, after the time necessary to download the data, it will automatically add the BSD68 data set to napari.50%
.Training parameters
, set: Batch size
= 128 We use different settings here because we have less patches that in the notebook.
Expert settings
to confirm that the other default values are properly set.If your GPU is too small for the training parameters (loading batches in the GPU memory creates out-of-memory errors), then you should decrease the
Batch size
parameter. If you reduce thebatch size
, you might want to increase theN steps
.
The example notebook generates a configuration containing all the parameters used for training and reproducing the results in the DenoiSegConfig call:
In order to reproduce similar the result using the plugin, we then follow these steps:
File / Open sample / napari-denoiseg / Download 3D data (n20 noise)
, after the time necessary to download the data, it will automatically add the BSD68 data set to napari.50%
.Training parameters
, set: N epochs
= 30 N steps
= 150 Batch size
= 4 We use different settings here because we have less patches that in the notebook.
Expert settings
to confirm that the other default values are properly set.If your GPU is too small for the training parameters (loading batches in the GPU memory creates out-of-memory errors), then you should decrease the Batch size
parameter.