Appendix 6—table 2. Parameters guide for CNN Predictions and Post-processing.
Menu B and D in Appendix 6—figure 1.
Process type | Parameter name | Description | Range | Default |
---|---|---|---|---|
CNN Prediction | Model Name | Trained model name. Models trained on confocal (model name: ‘generic_confocal_3D_unet’) and lightsheet (model name: ‘generic_confocal_3D_unet’) data as well as their multi-resolution variants are available: More info on available models and importing custom models can be found in the project repository. | text | ‘generic_confocal…’ |
Patch Size | Patch size given to the network. A bigger patches cost more memory but can give a slight improvement in performance. For 2D segmentation the Patch size relative to the z axis has to be set to 1. | tuple | ||
Stride | Specifies the overlap between neighboring patches. The bigger the overlap the the better predictions at the cost of additional computation time. In the GUI the stride values are automatically set, the user can choose between: Accurate (50% overlap between patches), Balanced (25% overlap between patches), Draft (only 5% overlap between patches). | menu | Balanced | |
Device Type | If a CUDA capable gpu is available and setup correctly, ‘cuda’ should be used, otherwise one can use ‘cpu’ for cpu only inference (much slower). | menu | ‘cpu’ | |
Prediction Post-processing | Convert to tiff | If True the prediction is exported as tiff file. | bool | False |
Cast Predictions | Predictions stacks are generated in ‘float32’. Or ‘uint8’ can be alternatively used to reduce the memory footprint. | menu | ‘data_float32’ |