grgngl commited on
Commit
1ddbd22
·
verified ·
1 Parent(s): f73bb05

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +32 -0
README.md ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+
5
+ # SAM 2 – Photogrammetry Segmentation (Scroll & Ruler)
6
+
7
+ Fine-tuned checkpoints of [SAM 2.1](https://github.com/facebookresearch/sam2) (hiera-tiny),
8
+ for segmenting the papyrus scroll (and, where present, a calibration ruler) in photogrammetry
9
+ photos of the Herculaneum papyri. Produced by fine-tuning the prompt encoder and mask decoder
10
+ of SAM 2.1 on a dataset of scroll/mask image pairs.
11
+
12
+ Code: https://github.com/ScrollPrize/villa/tree/main/foundation/sam2-photogrammetry
13
+
14
+ ## Checkpoints
15
+
16
+ | File | Description |
17
+ |---|---|
18
+ | `photo2_ruler_t_1000.torch` | For photogrammetry captures that include a calibration ruler in frame — segments both scroll and ruler. 1000 training iterations. |
19
+ | `photo2_t_5000.torch` | For photogrammetry captures with no ruler in frame — segments scroll only. 5000 training iterations. |
20
+
21
+ ## Usage
22
+
23
+ See the [sam2-photogrammetry README](https://github.com/ScrollPrize/villa/tree/main/foundation/sam2-photogrammetry)
24
+ for full setup instructions. To fetch a checkpoint directly:
25
+
26
+ ```bash
27
+ wget https://huggingface.co/scrollprize/sam2-photogrammetry/resolve/main/photo2_ruler_t_1000.torch -P checkpoints/
28
+ ```
29
+
30
+ ## License
31
+
32
+ Apache 2.0, matching the parent [SAM 2](https://github.com/facebookresearch/sam2) repository.