Solale Mohammadi 7e628193ed Update 'README.md' | 9 months ago | |
---|---|---|
README.md | 9 months ago |
This documentation outlines the Ischemic Stroke Core Segmentation model, which is designed to segment ischemic stroke core regions in medical images. The model is trained using two datasets: ISLES 2022 and expert-annotated photos. Three deep learning models have been implemented: FPN (Feature Pyramid Network), U-Net, and ResNext50.
Initial Training on ISLES 2022 Dataset:
Training and Fine-Tuning on Expert-Annotated Dataset:
dice_coef_metric
The dice_coef_metric
function computes the Dice coefficient metric for evaluating the performance of segmentation models. The Dice coefficient, also known as the Intersection over Union (IoU), measures the similarity between two sets by calculating the ratio of their intersection to their union.
dice_coef_loss
The dice_coef_loss
function computes the Dice coefficient loss, which is used as a loss function for training segmentation models. It measures the dissimilarity between predicted and ground truth segmentation masks based on the Dice coefficient.
bce_dice_loss
The bce_dice_loss
function computes the combined Binary Cross-Entropy and Dice coefficient loss. It combines the standard Binary Cross-Entropy loss with the Dice coefficient loss to provide a comprehensive loss function for training segmentation models.
Note: It is recommended to run the code on a GPU for faster training and testing.