Introduction#

This workshop shows several Jupyter Notebooks and Napari widgets that can be used to run and compare different Deep Learning frameworks such as Stardist, Cellpose, Instanseg, SAM (Segment Anything Model), YOLO, and PyTorch Semantic Segmentation – within the same project. Examples include: comparing results from different frameworks in the same viewer, training and evaluating models on images with structure at different scales, using Napari to visualize overlapping labels generated by SAM, using Napari ROIs to divide a single image into training and validation sets, applying data augmentation to train Stardist and/or Cellpose with a small number of labels, visualizing the receptive field of a neural network, training Stardist using partial (sparse) labels, and filtering the (potentially) hundreds or thousands of labels produced by SAM.

License#

CC BY 4.0

This work is licensed by Brian Northan and Ian Coccimiglio Creative Commons Attribution 4.0 International License.

This repository is maintained using Jupyter lab and build using Jupyter book.

Acknowledgements#

Image SC discussions are the inspiration for most of the material in this tutorial.

Cellpose Carsen Stringer, Tim Wang, Michalis Michaelos, Marius Pachitariu and Cellpose 2.0

Stardist Uwe Schmidt, Martin Weigert, Coleman Broaddus, Gene Myers.

Mobile SAM Chaoning Zhang