Push model using huggingface_hub.
Browse files- config.json +34 -0
- model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint": null,
|
| 3 |
+
"use_sam_checkpoint": false,
|
| 4 |
+
"use_vit_sam_neck": false,
|
| 5 |
+
"use_vit": true,
|
| 6 |
+
"image_embed_dim": 768,
|
| 7 |
+
"embed_dim": 512,
|
| 8 |
+
"image_size": 1024,
|
| 9 |
+
"vit_patch_size": 16,
|
| 10 |
+
"class_attention": false,
|
| 11 |
+
"example_attention": true,
|
| 12 |
+
"example_class_attention": false,
|
| 13 |
+
"class_embedding_dim": null,
|
| 14 |
+
"spatial_convs": 3,
|
| 15 |
+
"encoder_attention_downsample_rate": 2,
|
| 16 |
+
"decoder_attention_downsample_rate": 2,
|
| 17 |
+
"classification_layer_downsample_rate": 8,
|
| 18 |
+
"use_support_features_in_prompt_encoder": true,
|
| 19 |
+
"fusion_transformer": "TwoWayTransformer",
|
| 20 |
+
"few_type": "Prototype",
|
| 21 |
+
"class_fusion": "sum",
|
| 22 |
+
"transformer_keys_are_images": true,
|
| 23 |
+
"transformer_feature_size": null,
|
| 24 |
+
"class_encoder": {
|
| 25 |
+
"name": "RandomMatrixEncoder",
|
| 26 |
+
"bank_size": 100,
|
| 27 |
+
"embed_dim": 512
|
| 28 |
+
},
|
| 29 |
+
"segment_example_logits": false,
|
| 30 |
+
"dropout": 0.0,
|
| 31 |
+
"binary": false,
|
| 32 |
+
"custom_preprocess": true,
|
| 33 |
+
"encoder": "vit_b"
|
| 34 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6abc96e628cbe0245536ab1e2ea613b7df15a45c696e1e4241fc803f6377135
|
| 3 |
+
size 468483784
|