Upload 5 files
Browse files- config.json +25 -0
- onnx/.DS_Store +0 -0
- onnx/prompt_encoder_mask_decoder.onnx +3 -0
- onnx/vision_encoder.onnx +3 -0
- preprocessor_config.json +35 -0
config.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_attn_implementation_autoset": true,
|
| 3 |
+
"_name_or_path": "1vcian/nilslim",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"SamModel"
|
| 6 |
+
],
|
| 7 |
+
"initializer_range": 0.02,
|
| 8 |
+
"mask_decoder_config": {
|
| 9 |
+
"model_type": "",
|
| 10 |
+
"torch_dtype": "float32"
|
| 11 |
+
},
|
| 12 |
+
"model_type": "sam",
|
| 13 |
+
"prompt_encoder_config": {
|
| 14 |
+
"model_type": "",
|
| 15 |
+
"torch_dtype": "float32"
|
| 16 |
+
},
|
| 17 |
+
"torch_dtype": "float32",
|
| 18 |
+
"transformers_version": "4.49.0",
|
| 19 |
+
"vision_config": {
|
| 20 |
+
"hidden_size": 168,
|
| 21 |
+
"mlp_dim": 696,
|
| 22 |
+
"model_type": "",
|
| 23 |
+
"torch_dtype": "float32"
|
| 24 |
+
}
|
| 25 |
+
}
|
onnx/.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
onnx/prompt_encoder_mask_decoder.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:84f17a5e47bb066cf0ca508424d245148daa9c5e7fb2365db5106e5b36e4cdde
|
| 3 |
+
size 16564191
|
onnx/vision_encoder.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a20599060d4fa40cd9a9e096a63a78f6ed76c66c9843140edbc6ef5008ebd6f7
|
| 3 |
+
size 23276174
|
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 |
+
}
|