batuhandumani
commited on
Commit
•
ebd4d91
1
Parent(s):
7873dd4
Fine-tuned model and configuration files
Browse files- config.json +23 -0
- model.safetensors +3 -0
- preprocessor_config.json +28 -0
config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./MainDir/Untitled Folder/checkpoint_sam_torch",
|
3 |
+
"architectures": [
|
4 |
+
"SamModel"
|
5 |
+
],
|
6 |
+
"initializer_range": 0.02,
|
7 |
+
"mask_decoder_config": {
|
8 |
+
"model_type": ""
|
9 |
+
},
|
10 |
+
"model_type": "sam",
|
11 |
+
"prompt_encoder_config": {
|
12 |
+
"model_type": ""
|
13 |
+
},
|
14 |
+
"torch_dtype": "float32",
|
15 |
+
"transformers_version": "4.37.0",
|
16 |
+
"vision_config": {
|
17 |
+
"dropout": 0.0,
|
18 |
+
"initializer_factor": 1.0,
|
19 |
+
"intermediate_size": 6144,
|
20 |
+
"model_type": "",
|
21 |
+
"projection_dim": 512
|
22 |
+
}
|
23 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5a481b414a5dbe9cba508256e6100dba23eb4e9225f132add55176d51e102215
|
3 |
+
size 374979376
|
preprocessor_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"pad_size": {
|
19 |
+
"height": 1024,
|
20 |
+
"width": 1024
|
21 |
+
},
|
22 |
+
"processor_class": "SamProcessor",
|
23 |
+
"resample": 2,
|
24 |
+
"rescale_factor": 0.00392156862745098,
|
25 |
+
"size": {
|
26 |
+
"longest_edge": 1024
|
27 |
+
}
|
28 |
+
}
|