ljnlonoljpiljm commited on
Commit
8595bcd
·
verified ·
1 Parent(s): 71055d6

Upload HieraForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +77 -11
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,25 +1,91 @@
1
  {
2
- "_name_or_path": "google/siglip2-base-patch16-224",
3
  "_num_labels": 1,
4
  "architectures": [
5
- "SiglipForImageClassification"
6
  ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  "id2label": {
8
  "0": "target"
9
  },
10
- "initializer_factor": 1.0,
 
 
 
 
11
  "label2id": {
12
  "target": 0
13
  },
14
- "model_type": "siglip",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  "problem_type": "regression",
16
- "text_config": {
17
- "model_type": "siglip_text_model",
18
- "vocab_size": 256000
19
- },
 
 
 
 
 
 
 
20
  "torch_dtype": "float32",
21
  "transformers_version": "4.48.3",
22
- "vision_config": {
23
- "model_type": "siglip_vision_model"
24
- }
25
  }
 
1
  {
2
+ "_name_or_path": "facebook/hiera-base-plus-224-hf",
3
  "_num_labels": 1,
4
  "architectures": [
5
+ "HieraForImageClassification"
6
  ],
7
+ "decoder_depth": null,
8
+ "decoder_hidden_size": null,
9
+ "decoder_num_heads": null,
10
+ "depths": [
11
+ 2,
12
+ 3,
13
+ 16,
14
+ 3
15
+ ],
16
+ "drop_path_rate": 0.0,
17
+ "embed_dim": 112,
18
+ "embed_dim_multiplier": 2.0,
19
+ "hidden_act": "gelu",
20
+ "hidden_size": 896,
21
  "id2label": {
22
  "0": "target"
23
  },
24
+ "image_size": [
25
+ 224,
26
+ 224
27
+ ],
28
+ "initializer_range": 0.02,
29
  "label2id": {
30
  "target": 0
31
  },
32
+ "layer_norm_eps": 1e-06,
33
+ "layer_norm_init": 1.0,
34
+ "mask_ratio": 0.6,
35
+ "masked_unit_attention": [
36
+ true,
37
+ true,
38
+ false,
39
+ false
40
+ ],
41
+ "masked_unit_size": [
42
+ 8,
43
+ 8
44
+ ],
45
+ "mlp_ratio": 4.0,
46
+ "model_type": "hiera",
47
+ "norm_pix_loss": true,
48
+ "normalize_pixel_loss": true,
49
+ "num_channels": 3,
50
+ "num_heads": [
51
+ 2,
52
+ 4,
53
+ 8,
54
+ 16
55
+ ],
56
+ "num_layers": 4,
57
+ "num_query_pool": 3,
58
+ "out_features": [
59
+ "stage4"
60
+ ],
61
+ "out_indices": [
62
+ 4
63
+ ],
64
+ "patch_padding": [
65
+ 3,
66
+ 3
67
+ ],
68
+ "patch_size": [
69
+ 7,
70
+ 7
71
+ ],
72
+ "patch_stride": [
73
+ 4,
74
+ 4
75
+ ],
76
  "problem_type": "regression",
77
+ "query_stride": [
78
+ 2,
79
+ 2
80
+ ],
81
+ "stage_names": [
82
+ "stem",
83
+ "stage1",
84
+ "stage2",
85
+ "stage3",
86
+ "stage4"
87
+ ],
88
  "torch_dtype": "float32",
89
  "transformers_version": "4.48.3",
90
+ "use_separate_position_embedding": false
 
 
91
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b9e7416296b2e14b8b0aa214d72b8c53e8e657f786117faae7bb6a66772af27b
3
- size 371564916
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c796f3a73fb35f8cca105e21a1213f79896260735da8dd3fabf3ce90ba984453
3
+ size 276037596