add robustsam huge
Browse files- config.json +28 -0
- model.safetensors +3 -0
- preprocessor_config.json +35 -0
config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"SamModel"
|
| 4 |
+
],
|
| 5 |
+
"initializer_range": 0.02,
|
| 6 |
+
"mask_decoder_config": {
|
| 7 |
+
"model_type": ""
|
| 8 |
+
},
|
| 9 |
+
"model_type": "sam",
|
| 10 |
+
"prompt_encoder_config": {
|
| 11 |
+
"model_type": ""
|
| 12 |
+
},
|
| 13 |
+
"torch_dtype": "float32",
|
| 14 |
+
"transformers_version": "4.42.4",
|
| 15 |
+
"vision_config": {
|
| 16 |
+
"global_attn_indexes": [
|
| 17 |
+
7,
|
| 18 |
+
15,
|
| 19 |
+
23,
|
| 20 |
+
31
|
| 21 |
+
],
|
| 22 |
+
"hidden_size": 1280,
|
| 23 |
+
"mlp_dim": 5120,
|
| 24 |
+
"model_type": "",
|
| 25 |
+
"num_attention_heads": 16,
|
| 26 |
+
"num_hidden_layers": 32
|
| 27 |
+
}
|
| 28 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1cf54b58c6e6bb391b3b2032c0ccb4084f36ecac0b9fec362b4abc2f46862761
|
| 3 |
+
size 2564432184
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_convert_rgb": true,
|
| 3 |
+
"do_normalize": true,
|
| 4 |
+
"do_pad": true,
|
| 5 |
+
"do_rescale": true,
|
| 6 |
+
"do_resize": true,
|
| 7 |
+
"image_mean": [
|
| 8 |
+
0.485,
|
| 9 |
+
0.456,
|
| 10 |
+
0.406
|
| 11 |
+
],
|
| 12 |
+
"image_processor_type": "SamImageProcessor",
|
| 13 |
+
"image_std": [
|
| 14 |
+
0.229,
|
| 15 |
+
0.224,
|
| 16 |
+
0.225
|
| 17 |
+
],
|
| 18 |
+
"mask_pad_size": {
|
| 19 |
+
"height": 256,
|
| 20 |
+
"width": 256
|
| 21 |
+
},
|
| 22 |
+
"mask_size": {
|
| 23 |
+
"longest_edge": 256
|
| 24 |
+
},
|
| 25 |
+
"pad_size": {
|
| 26 |
+
"height": 1024,
|
| 27 |
+
"width": 1024
|
| 28 |
+
},
|
| 29 |
+
"processor_class": "SamProcessor",
|
| 30 |
+
"resample": 2,
|
| 31 |
+
"rescale_factor": 0.00392156862745098,
|
| 32 |
+
"size": {
|
| 33 |
+
"longest_edge": 1024
|
| 34 |
+
}
|
| 35 |
+
}
|