Xenova HF Staff commited on
Commit
c60160c
·
verified ·
1 Parent(s): 9a3f6a8

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +64 -0
  2. onnx/model.onnx +3 -0
  3. preprocessor_config.json +23 -0
config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "hf-internal-testing/tiny-random-SegformerForImageClassification",
4
+ "architectures": [
5
+ "SegformerForImageClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout_prob": 0.1,
9
+ "decoder_hidden_size": 256,
10
+ "depths": [
11
+ 2,
12
+ 2,
13
+ 2,
14
+ 2
15
+ ],
16
+ "drop_path_rate": 0.1,
17
+ "hidden_act": "gelu",
18
+ "hidden_dropout_prob": 0.1,
19
+ "hidden_sizes": [
20
+ 16,
21
+ 32,
22
+ 64,
23
+ 128
24
+ ],
25
+ "image_size": 64,
26
+ "initializer_range": 0.02,
27
+ "layer_norm_eps": 1e-06,
28
+ "mlp_ratios": [
29
+ 4,
30
+ 4,
31
+ 4,
32
+ 4
33
+ ],
34
+ "model_type": "segformer",
35
+ "num_attention_heads": [
36
+ 1,
37
+ 2,
38
+ 4,
39
+ 8
40
+ ],
41
+ "num_channels": 3,
42
+ "num_encoder_blocks": 4,
43
+ "patch_sizes": [
44
+ 7,
45
+ 3,
46
+ 3,
47
+ 3
48
+ ],
49
+ "reshape_last_stage": true,
50
+ "semantic_loss_ignore_index": 255,
51
+ "sr_ratios": [
52
+ 8,
53
+ 4,
54
+ 2,
55
+ 1
56
+ ],
57
+ "strides": [
58
+ 4,
59
+ 2,
60
+ 2,
61
+ 2
62
+ ],
63
+ "transformers_version": "4.48.2"
64
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42c4fea97add7e0bd74eb6972cf1075266a950f5fde9e76441e9f4682d375194
3
+ size 3279762
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_reduce_labels": false,
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": "SegformerFeatureExtractor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 64,
21
+ "width": 64
22
+ }
23
+ }