Let the 2D DINOv2 and SAM 2.1 models take slices of any size
Browse filesDINOv2 interpolates its position embeddings; SAM 2.1 repeats its window embedding to cover the grid. Outputs at the sizes the old files took are unchanged (SAM bit-identical). Static mode, which feeds whole slices, now works in every engine. Adds Dino/DinoV2_Small_PatchTokens.pt (patch tokens of block 12).
- Dino/DinoV2_Small.pt +2 -2
- Dino/DinoV2_Small_PatchTokens.pt +3 -0
- SAM2.1/SAM2.1_Small.pt +2 -2
- SAM2.1/SAM2.1_Tiny.pt +2 -2
- models.json +7 -0
Dino/DinoV2_Small.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e8f4eb22390d10f80df72e801c483db6ad528922c4b2428149f5d81f28edfc43
|
| 3 |
+
size 88590113
|
Dino/DinoV2_Small_PatchTokens.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5372d2cfd4089f00d81c1b8fca8ba39a5e7ebc5484e6f78cdda8465b634517ee
|
| 3 |
+
size 88601647
|
SAM2.1/SAM2.1_Small.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b241bdcbc11ef5e39be3c4ef22e8a26a915eecce572ac3fce7f94feb2d84d761
|
| 3 |
+
size 135961182
|
SAM2.1/SAM2.1_Tiny.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:010a04491d4a9b291e2acde0b9c02a43f8b9764d981f3f30b838af8d7e30a3e1
|
| 3 |
+
size 107553375
|
models.json
CHANGED
|
@@ -239,5 +239,12 @@
|
|
| 239 |
},
|
| 240 |
"dimension": "2",
|
| 241 |
"numberofchannels": "3"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 242 |
}
|
| 243 |
}
|
|
|
|
| 239 |
},
|
| 240 |
"dimension": "2",
|
| 241 |
"numberofchannels": "3"
|
| 242 |
+
},
|
| 243 |
+
"Dino/DinoV2_Small_PatchTokens.pt": {
|
| 244 |
+
"fov": {
|
| 245 |
+
"formula": "14"
|
| 246 |
+
},
|
| 247 |
+
"dimension": "2",
|
| 248 |
+
"numberofchannels": "3"
|
| 249 |
}
|
| 250 |
}
|