VBoussot commited on
Commit
8acfc94
·
verified ·
1 Parent(s): 0e736fa

Let the 2D DINOv2 and SAM 2.1 models take slices of any size

Browse files

DINOv2 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 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:eaa00865fa5c1f5c31f80d4ed44e0505619b3035acb6509a3d07dbbed31578fa
3
- size 88539072
 
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:4c32287f87b945c24f078d1919cb1c392b9bfad2bd4ff435f7cdba7fbdfffb6f
3
- size 135968194
 
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:dd01ddd957c89fd78c73d930eadd64d2339bcbad6c265a76e236f584cd801b3f
3
- size 107558543
 
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
  }