Update README.md
Browse files
README.md
CHANGED
|
@@ -8,6 +8,8 @@ tags:
|
|
| 8 |
datasets:
|
| 9 |
- custom
|
| 10 |
pipeline_tag: image-segmentation
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
# MaskFormer for Normal/Abnormal Detection
|
|
@@ -24,13 +26,6 @@ This is a MaskFormer model fine-tuned on a custom dataset with polygon annotatio
|
|
| 24 |
|
| 25 |
This model is intended for instance segmentation tasks to identify normal and abnormal regions in images.
|
| 26 |
|
| 27 |
-
### How to use in CVAT
|
| 28 |
-
|
| 29 |
-
1. In CVAT, go to Models → Add Model
|
| 30 |
-
2. Select Hugging Face as the source
|
| 31 |
-
3. Enter the model path: "{your-username}/maskformer-abnormal-detection-v4"
|
| 32 |
-
4. Configure the appropriate mapping for your labels (Normal and Abnormal)
|
| 33 |
-
|
| 34 |
### Usage in Python
|
| 35 |
|
| 36 |
```python
|
|
@@ -52,4 +47,4 @@ with torch.no_grad():
|
|
| 52 |
|
| 53 |
# Process outputs for visualization
|
| 54 |
# (see example code in model repository)
|
| 55 |
-
```
|
|
|
|
| 8 |
datasets:
|
| 9 |
- custom
|
| 10 |
pipeline_tag: image-segmentation
|
| 11 |
+
base_model:
|
| 12 |
+
- facebook/maskformer-swin-tiny-ade
|
| 13 |
---
|
| 14 |
|
| 15 |
# MaskFormer for Normal/Abnormal Detection
|
|
|
|
| 26 |
|
| 27 |
This model is intended for instance segmentation tasks to identify normal and abnormal regions in images.
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
### Usage in Python
|
| 30 |
|
| 31 |
```python
|
|
|
|
| 47 |
|
| 48 |
# Process outputs for visualization
|
| 49 |
# (see example code in model repository)
|
| 50 |
+
```
|