hf-transformers-bot
commited on
Commit
•
0fc4261
1
Parent(s):
5f0bdbc
Upload tiny models for SegGptModel
Browse files- config.json +30 -0
- model.safetensors +3 -0
- preprocessor_config.json +23 -0
config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"SegGptModel"
|
4 |
+
],
|
5 |
+
"beta": 0.01,
|
6 |
+
"decoder_hidden_size": 10,
|
7 |
+
"drop_path_rate": 0.1,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 32,
|
11 |
+
"image_size": 30,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_hidden_state_indices": [
|
14 |
+
1
|
15 |
+
],
|
16 |
+
"layer_norm_eps": 1e-06,
|
17 |
+
"merge_index": 0,
|
18 |
+
"mlp_dim": 128,
|
19 |
+
"mlp_ratio": 2.0,
|
20 |
+
"model_type": "seggpt",
|
21 |
+
"num_attention_heads": 4,
|
22 |
+
"num_channels": 3,
|
23 |
+
"num_hidden_layers": 2,
|
24 |
+
"patch_size": 2,
|
25 |
+
"pretrain_image_size": 10,
|
26 |
+
"qkv_bias": true,
|
27 |
+
"torch_dtype": "float32",
|
28 |
+
"transformers_version": "4.39.0.dev0",
|
29 |
+
"use_relative_position_embeddings": true
|
30 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9dc2f3dfaddd8c6cc809416a50126fd08279d2ba02b0a574ad1683914401bbd3
|
3 |
+
size 114944
|
preprocessor_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": 30,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_mean": [
|
7 |
+
0.485,
|
8 |
+
0.456,
|
9 |
+
0.406
|
10 |
+
],
|
11 |
+
"image_processor_type": "SegGptImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"height": 30,
|
21 |
+
"width": 30
|
22 |
+
}
|
23 |
+
}
|