Leveraging Unlabeled Data for 3D Medical Image Segmentation through Self-Supervised Contrastive Learning
Welcome to our GitHub repository! Our 3D semi-supervised segmentation approach addresses key challenges by leveraging two specialized subnetworks, correcting errors and enhancing contextual information. We introduce targeted verification training and self-supervised contrastive learning to improve predictions. Our model demonstrates superior performance on clinical MRI and CT scans for organ segmentation, outperforming state-of-the-art methods. Dive into our code for advanced 3D segmentation capabilities!
- November 21, 2023: First release of the code.
This code has been implemented in python language using Pytorch libarary and tested in ubuntu OS, though should be compatible with related environment. following Environement and Library needed to run the code:
- CentOS Linux release 7.3.1611
- Python 3.6.13
- CUDA 9.2
- PyTorch 1.9.0
- medpy 0.4.0
- tqdm,h5py
Please download the prepared dataset from the following link and use the dataset path in the training and evalution code.
Please change the database path and data partition file in the corresponding code.
To train the network on the LA dataset, execute python pyhon train_LA
. For the Pancreas dataset, use python pyhon train_pancreas
To evaluate the network on the LA dataset, run pyhon test_LA
. For the Pancreas dataset, run pyhon test_pancreas
If you find this project useful, please consider citing:
@InProceedings{ssl-karimi,
author = {},
title = {Leveraging Unlabeled Data for 3D Medical Image Segmentation through Self-Supervised Contrastive Learning},
booktitle = {ISBI 2024},
month = {},
year = {},
pages = {}
}
We build the project based on MCF-semsupervise. Thanks for their contribution.