Tan Gezerman
commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -4,7 +4,55 @@ metrics:
|
|
| 4 |
- Intersection Over Union: 0.9509
|
| 5 |
- Dice score: 0.9794
|
| 6 |
datasets:
|
| 7 |
-
- tangez/
|
| 8 |
base_model:
|
| 9 |
-
-
|
| 10 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
- Intersection Over Union: 0.9509
|
| 5 |
- Dice score: 0.9794
|
| 6 |
datasets:
|
| 7 |
+
- tangez/zin5807
|
| 8 |
base_model:
|
| 9 |
+
- 5mp-hub/vgg16.imagenet
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# VGG16-U-NET Model Card
|
| 13 |
+
|
| 14 |
+
## Model Description
|
| 15 |
+
|
| 16 |
+
**Model Name:** VGG16-U-NET
|
| 17 |
+
|
| 18 |
+
**Model Type:** Image Segmentation
|
| 19 |
+
|
| 20 |
+
**Architecture:** U-Net with VGG16 encoder
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
## Model Performance
|
| 24 |
+
|
| 25 |
+
| Metric | Value |
|
| 26 |
+
|--------|-------|
|
| 27 |
+
| Accuracy | 0.9815 |
|
| 28 |
+
| Intersection Over Union (IoU) | 0.9509 |
|
| 29 |
+
| Dice Score | 0.9794 |
|
| 30 |
+
|
| 31 |
+
## Training Details
|
| 32 |
+
|
| 33 |
+
**Dataset:** tangez/ain3007
|
| 34 |
+
|
| 35 |
+
**Training Parameters:**
|
| 36 |
+
- Architecture: U-Net with VGG16 encoder backbone
|
| 37 |
+
- Pre-trained weights: ImageNet
|
| 38 |
+
- Framework: PyTorch
|
| 39 |
+
|
| 40 |
+
## Intended Use
|
| 41 |
+
|
| 42 |
+
**Primary Use Cases:**
|
| 43 |
+
- Image segmentation tasks
|
| 44 |
+
|
| 45 |
+
## How to Use
|
| 46 |
+
|
| 47 |
+
```python
|
| 48 |
+
import torch
|
| 49 |
+
|
| 50 |
+
# Load the trained model from the Models directory
|
| 51 |
+
model = torch.load("path/to/model.pth")
|
| 52 |
+
model.eval()
|
| 53 |
+
|
| 54 |
+
# For inference on WSI patches
|
| 55 |
+
with torch.no_grad():
|
| 56 |
+
output = model(input_patches)
|
| 57 |
+
# Output will be binary tissue masks
|
| 58 |
+
```
|