File size: 5,416 Bytes
ad92270
 
 
 
 
a37dbcc
cb6eee5
 
a37dbcc
cb6eee5
 
 
 
 
a37dbcc
cb6eee5
a37dbcc
 
 
 
 
 
 
cb6eee5
 
 
a37dbcc
 
cb6eee5
 
 
 
 
a37dbcc
cb6eee5
 
 
a37dbcc
cb6eee5
 
 
a37dbcc
cb6eee5
 
 
a37dbcc
cb6eee5
 
 
a37dbcc
cb6eee5
 
 
a37dbcc
cb6eee5
a37dbcc
 
 
 
 
 
 
 
 
 
 
 
 
cb6eee5
 
 
 
 
a37dbcc
cb6eee5
 
 
a37dbcc
cb6eee5
 
 
a37dbcc
cb6eee5
 
 
a37dbcc
 
 
 
cb6eee5
 
 
a37dbcc
 
 
cb6eee5
 
 
 
 
 
 
a37dbcc
cb6eee5
 
 
a37dbcc
cb6eee5
 
 
a37dbcc
 
 
 
cb6eee5
 
 
a37dbcc
cb6eee5
 
 
a37dbcc
cb6eee5
 
 
a37dbcc
cb6eee5
 
 
a37dbcc
cb6eee5
 
 
 
 
a37dbcc
cb6eee5
 
 
a37dbcc
 
cb6eee5
 
 
 
 
a37dbcc
42b7804
a37dbcc
 
 
 
42b7804
a37dbcc
 
cb6eee5
 
 
42b7804
cb6eee5
 
 
 
ad92270
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
---
license: apache-2.0
tags:
- medical
- segmentation

---

# Model Card for POCUS Aorta Segmentation using finetuned YOLOv8

## Model Details

### Model Description

This model is designed for Point of Care Ultrasound (POCUS) aorta segmentation, leveraging the finetuned YOLOv8 architecture. It aims to facilitate accurate and efficient aortic ultrasound image segmentation to aid medical professionals in diagnosing aortic conditions.

- **Developed by:** [Sumit Pandey, Erik B. Dam and Kuan Fu Chen]
- **Funded by [optional]:** [University of Copenhagen and Chang Gung Memorial Hospital Taiwan]
- **Shared by [optional]:** [Sumit Pandey]
- **Model type:** Convolutional Neural Network (CNN) for Object Detection and Segmentation
- **Language(s) (NLP):** Not applicable
- **License:** Apache-2.0
- **Finetuned from model [optional]:** YOLOv8

### Model Sources [optional]

- **Paper [optional]:** [https://www.researchsquare.com/article/rs-4497019/v1]
- **Demo [optional]:** [https://huggingface.co/spaces/sumit-ai-ml/Aorta-segmentation]

## Uses

### Direct Use

This model can be directly used to segment aortic structures in ultrasound images. It is intended for use by healthcare professionals and researchers in the field of medical imaging. However it will require further investigation.

### Downstream Use [optional]

The model can be fine-tuned for other segmentation tasks in medical imaging or integrated into larger diagnostic systems.

### Out-of-Scope Use

This model is not intended for use in non-medical imaging contexts or for segmentation tasks unrelated to aortic structures. It should not be used as a sole diagnostic tool without professional medical interpretation.

## Bias, Risks, and Limitations

This model is trained on a specific dataset of aortic ultrasound images and may not generalize well to images from different sources or with different characteristics. The model might exhibit bias based on the demographic or technical attributes of the training data.

### Recommendations

Users should be aware of potential biases and validate the model on their own data before deploying it in clinical settings. Regular updates and retraining with diverse datasets are recommended to maintain model performance and reduce bias.

## How to Get Started with the Model

Use the following code to get started with the model:

```python
# Example code to load and use the model
from ultralytics import YOLO

# Load the model
model = YOLO('path_to_your_finetuned_model.pt')

# Perform segmentation
results = model('path_to_ultrasound_image.jpg')

# Visualize results
results.show()
```

## Training Details

### Training Data

The model is trained on a dataset of annotated aortic ultrasound images. The dataset includes diverse cases to ensure the robustness of the model.

### Training Procedure

The model was finetuned from YOLOv8 using the following procedure:

#### Preprocessing [optional]

Images were resized to a standard input size, and data augmentation techniques such as rotation, scaling, and flipping were applied to enhance model generalization.

#### Training Hyperparameters

- **Training regime:** FP16 mixed precision
- **Batch size:** 16
- **Epochs:** around 100
- **Learning rate:** 0.001

#### Speeds, Sizes, Times [optional]

- **Training duration:** Approximately 2 hours
- **Model size:** 6.42MB
- **Inference time per image:** 0.05 seconds

## Evaluation

### Testing Data, Factors & Metrics

#### Testing Data

The testing dataset consists of a separate set of annotated aortic ultrasound images that were not seen by the model during training.

#### Factors

Evaluation was performed across different subpopulations, including variations in patient age, gender, and ultrasound device settings.

#### Metrics

- **Mean Intersection over Union (mIoU):** 0.85
- **Dice Coefficient:** 0.88
- **Precision:** 0.87
- **Recall:** 0.86

### Results

The model demonstrated high accuracy and robustness across the test set, with consistent performance in various subgroups.

#### Summary

The finetuned YOLOv8 model for POCUS aorta segmentation achieved high precision and recall, making it suitable for clinical applications in aortic ultrasound imaging.

## Model Examination [optional]

Interpretability techniques such as Grad-CAM were used to validate the model's focus on relevant aortic structures during segmentation.

### Model Architecture and Objective

The model uses the YOLOv8 architecture, optimized for object detection and segmentation tasks in medical imaging.

### Compute Infrastructure

#### Hardware

Training was performed on NVIDIA A100 GPUs with 40GB VRAM.

#### Software

- **Framework:** PyTorch
- **Operating System:** Ubuntu 20.04

## Citation [optional]

**BibTeX:**

```bibtex
@misc{POCUS Aorta Segmentation,
  author = {Sumit Pandey, Erik B. Dam and Kuan Fu Chen, University of Copenhagen and Chang Gung Memorial Hospital Taiwan},
  title = {POCUS Aorta Segmentation using finetuned YOLOv8},
  year = {2024},
  publisher = {Hugging Face},
  url = {https://huggingface.co/sumit-ai-ml/POCUS_Aorta_segmentation}
}
```

**APA:**

Sumit Pandey, University of Copenhagen (2024). POCUS Aorta Segmentation using finetuned YOLOv8. Hugging Face. https://huggingface.co/sumit-ai-ml/POCUS_Aorta_segmentation


## More Information [optional]

For more information, visit the [model repository](https://huggingface.co/sumit-ai-ml/POCUS_Aorta_segmentation)