Deep learning-based cardiac segmentation using PyTorch, MONAI, and U-Net models.
This project leverages deep learning models for cardiac segmentation, particularly for the ACDC dataset. The goal is to segment the heart's anatomical structures to aid in medical analysis.
requirements.txt
Clone the repository:
bash
git clone https://github.com/arkanandi/Cardiac_Segmentation_ACDC.git
cd Cardiac_Segmentation_ACDC
Install the required Python libraries:
bash
pip install -r requirements.txt
Download the ACDC dataset and place it in the appropriate folder (see the dataset instructions in the repository for details).
To train the model, run:
bash
python train_2d.py
# or
python train_3d.py
To make predictions:
bash
python predict_2d.py
# or
python predict_3d.py
Once you have trained the model, you can use it to predict cardiac structures on new datasets.
Feel free to fork the repository and submit pull requests. Issues and suggestions are always welcome.
bash
git clone https://github.com/your-username/Cardiac_Segmentation_ACDC.git
bash
git checkout -b feature-name
bash
git commit -am 'Add new feature'
bash
git push origin feature-name
This project is licensed under the MIT License - see the LICENSE file for details.