Xenova HF staff commited on
Commit
4325281
·
verified ·
1 Parent(s): 688bac6

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +81 -0
  2. onnx/model.onnx +3 -0
  3. preprocessor_config.json +27 -0
config.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "hf-internal-testing/tiny-random-MaskFormerForInstanceSegmentation",
4
+ "architectures": [
5
+ "MaskFormerForInstanceSegmentation"
6
+ ],
7
+ "backbone": null,
8
+ "backbone_config": {
9
+ "depths": [
10
+ 1,
11
+ 1,
12
+ 1,
13
+ 1
14
+ ],
15
+ "drop_path_rate": 0.1,
16
+ "embed_dim": 96,
17
+ "encoder_stride": 32,
18
+ "hidden_size": 768,
19
+ "image_size": 224,
20
+ "model_type": "maskformer-swin",
21
+ "num_heads": [
22
+ 3,
23
+ 6,
24
+ 12,
25
+ 24
26
+ ],
27
+ "out_features": [
28
+ "stage1",
29
+ "stage2",
30
+ "stage3",
31
+ "stage4"
32
+ ],
33
+ "out_indices": [
34
+ 1,
35
+ 2,
36
+ 3,
37
+ 4
38
+ ],
39
+ "path_norm": true,
40
+ "window_size": 7
41
+ },
42
+ "backbone_kwargs": null,
43
+ "cross_entropy_weight": 1.0,
44
+ "decoder_config": {
45
+ "d_model": 32,
46
+ "decoder_attention_heads": 2,
47
+ "decoder_ffn_dim": 128,
48
+ "max_position_embeddings": 1024,
49
+ "model_type": "detr",
50
+ "num_queries": 10,
51
+ "scale_embedding": false
52
+ },
53
+ "dice_weight": 1.0,
54
+ "fpn_feature_size": 32,
55
+ "id2label": {
56
+ "0": "LABEL_0",
57
+ "1": "LABEL_1",
58
+ "2": "LABEL_2",
59
+ "3": "LABEL_3"
60
+ },
61
+ "init_std": 0.02,
62
+ "init_xavier_std": 1.0,
63
+ "label2id": {
64
+ "LABEL_0": 0,
65
+ "LABEL_1": 1,
66
+ "LABEL_2": 2,
67
+ "LABEL_3": 3
68
+ },
69
+ "mask_feature_size": 32,
70
+ "mask_weight": 20.0,
71
+ "model_type": "maskformer",
72
+ "no_object_weight": 0.1,
73
+ "num_attention_heads": 8,
74
+ "num_channels": 3,
75
+ "num_hidden_layers": 6,
76
+ "output_auxiliary_logits": null,
77
+ "transformers_version": "4.48.2",
78
+ "use_auxiliary_loss": false,
79
+ "use_pretrained_backbone": false,
80
+ "use_timm_backbone": false
81
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80e18cdd3987ce7a84f9f607af86b4fcb71fd6a656f2cfb531983898ab789b28
3
+ size 46695570
preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_reduce_labels": false,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "ignore_index": 255,
7
+ "image_mean": [
8
+ 0.48500001430511475,
9
+ 0.4560000002384186,
10
+ 0.4059999883174896
11
+ ],
12
+ "image_processor_type": "MaskFormerFeatureExtractor",
13
+ "image_std": [
14
+ 0.2290000021457672,
15
+ 0.2239999920129776,
16
+ 0.22499999403953552
17
+ ],
18
+ "max_size": 2560,
19
+ "num_labels": null,
20
+ "resample": 2,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "longest_edge": 2560,
24
+ "shortest_edge": 640
25
+ },
26
+ "size_divisor": 32
27
+ }