Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- segment-anything
|
| 5 |
+
- sam
|
| 6 |
+
- uwsam
|
| 7 |
+
- underwater-segmentation
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# UWSAM Teacher Model
|
| 11 |
+
|
| 12 |
+
This repository contains the trained checkpoints for the UWSAM Teacher model.
|
| 13 |
+
|
| 14 |
+
## Model Checkpoints
|
| 15 |
+
|
| 16 |
+
The following checkpoints are available:
|
| 17 |
+
- `checkpoints/epoch_4.pth`
|
| 18 |
+
- `checkpoints/epoch_5.pth`
|
| 19 |
+
- `checkpoints/epoch_6.pth`
|
| 20 |
+
|
| 21 |
+
## Usage
|
| 22 |
+
|
| 23 |
+
```python
|
| 24 |
+
from huggingface_hub import hf_hub_download
|
| 25 |
+
|
| 26 |
+
# Download a specific checkpoint
|
| 27 |
+
checkpoint_path = hf_hub_download(
|
| 28 |
+
repo_id="fhaosss/UWSAM_teacher",
|
| 29 |
+
filename="checkpoints/epoch_6.pth"
|
| 30 |
+
)
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
## Training Configuration
|
| 34 |
+
|
| 35 |
+
The training configuration is available in `config/uwsam_teacher_paper.py`.
|
| 36 |
+
|
| 37 |
+
## Citation
|
| 38 |
+
|
| 39 |
+
If you use this model, please cite the original UWSAM paper.
|