A PyTorch-based segmentation toolbox for electron microscopy connectomics, enabling neural structure analysis in 3D volumes.
PyTorch Connectomics is a deep learning framework for automatic segmentation of neural structures in electron microscopy images. It provides ready-to-use models for initial segmentation and tools to adapt models to custom annotated data, enabling scalable analysis of brain connectivity in 3D volumes. The framework is built on modern libraries like PyTorch Lightning and MONAI for efficient, distributed training.
Neuroscientists, biologists, and computational researchers working with electron microscopy data who need to segment and analyze neural structures for connectomics studies. It's also suitable for machine learning engineers developing custom segmentation models for 3D medical imaging.
Developers choose PyTorch Connectomics for its specialized focus on EM connectomics, state-of-the-art model architectures, and seamless scalability from single GPU to large clusters. Its integration with PyTorch Lightning and MONAI provides a modern, maintainable codebase with automatic distributed training and medical imaging optimizations.
PyTorch Connectomics: segmentation toolbox for EM connectomics
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Built on PyTorch Lightning and MONAI, enabling automatic distributed training, mixed precision, and medical imaging optimizations without manual configuration.
Includes MONAI models like UNETR and MedNeXt architectures, which are benchmarked for accurate 3D segmentation in connectomics, as shown in the tutorials with high Jaccard indices.
Features Waterz decoder with hierarchical agglomeration and dust merge for fragment cleanup, essential for refining EM segmentations with tunable parameters via Optuna.
Supports multi-GPU training, efficient data loading with caching, and gradient accumulation, allowing it to handle large-scale datasets from single GPU to clusters.
Requires familiarity with PyTorch, Lightning, and medical imaging concepts, making it challenging for biologists or researchers without a strong ML background to adapt quickly.
Manual installation involves multiple steps with Conda, specific PyTorch versions, and compilation of C++/Cython components like connected-components-3d, which can be error-prone on non-Linux systems.
Optimized solely for electron microscopy connectomics; lacks out-of-the-box support for other imaging modalities, reducing its appeal for broader medical image analysis tasks.