EduardoPacheco commited on
Commit
1e7e7f5
1 Parent(s): b9cbc26

Upload HieraForImageClassification

Browse files
Files changed (1) hide show
  1. config.json +25 -15
config.json CHANGED
@@ -1,13 +1,10 @@
1
  {
2
- "_out_features": [
3
- "stage4"
4
- ],
5
- "_out_indices": [
6
- 4
7
- ],
8
  "architectures": [
9
  "HieraForImageClassification"
10
  ],
 
 
 
11
  "depths": [
12
  1,
13
  2,
@@ -1021,12 +1018,11 @@
1021
  "998": "ear, spike, capitulum",
1022
  "999": "toilet tissue, toilet paper, bathroom tissue"
1023
  },
1024
- "initial_num_heads": 1,
1025
- "initializer_range": 0.02,
1026
- "input_size": [
1027
  224,
1028
  224
1029
  ],
 
1030
  "label2id": {
1031
  "Afghan hound, Afghan": 160,
1032
  "African chameleon, Chamaeleo chamaeleon": 47,
@@ -2030,6 +2026,7 @@
2030
  },
2031
  "layer_norm_eps": 1e-06,
2032
  "layer_norm_init": 1.0,
 
2033
  "masked_unit_attention": [
2034
  true,
2035
  true,
@@ -2042,17 +2039,30 @@
2042
  ],
2043
  "mlp_ratio": 4.0,
2044
  "model_type": "hiera",
 
2045
  "num_channels": 3,
2046
- "num_head_multiplier": 2.0,
 
 
 
 
 
 
2047
  "num_query_pool": 3,
2048
- "patch_kernel": [
2049
- 7,
2050
- 7
 
 
2051
  ],
2052
  "patch_padding": [
2053
  3,
2054
  3
2055
  ],
 
 
 
 
2056
  "patch_stride": [
2057
  4,
2058
  4
@@ -2061,7 +2071,6 @@
2061
  2,
2062
  2
2063
  ],
2064
- "sep_pos_embed": false,
2065
  "stage_names": [
2066
  "stem",
2067
  "stage1",
@@ -2070,5 +2079,6 @@
2070
  "stage4"
2071
  ],
2072
  "torch_dtype": "float32",
2073
- "transformers_version": "4.40.0.dev0"
 
2074
  }
 
1
  {
 
 
 
 
 
 
2
  "architectures": [
3
  "HieraForImageClassification"
4
  ],
5
+ "decoder_depth": null,
6
+ "decoder_hidden_size": null,
7
+ "decoder_num_heads": null,
8
  "depths": [
9
  1,
10
  2,
 
1018
  "998": "ear, spike, capitulum",
1019
  "999": "toilet tissue, toilet paper, bathroom tissue"
1020
  },
1021
+ "image_size": [
 
 
1022
  224,
1023
  224
1024
  ],
1025
+ "initializer_range": 0.02,
1026
  "label2id": {
1027
  "Afghan hound, Afghan": 160,
1028
  "African chameleon, Chamaeleo chamaeleon": 47,
 
2026
  },
2027
  "layer_norm_eps": 1e-06,
2028
  "layer_norm_init": 1.0,
2029
+ "mask_ratio": 0.6,
2030
  "masked_unit_attention": [
2031
  true,
2032
  true,
 
2039
  ],
2040
  "mlp_ratio": 4.0,
2041
  "model_type": "hiera",
2042
+ "norm_pix_loss": true,
2043
  "num_channels": 3,
2044
+ "num_heads": [
2045
+ 1,
2046
+ 2,
2047
+ 4,
2048
+ 8
2049
+ ],
2050
+ "num_layers": 4,
2051
  "num_query_pool": 3,
2052
+ "out_features": [
2053
+ "stage4"
2054
+ ],
2055
+ "out_indices": [
2056
+ 4
2057
  ],
2058
  "patch_padding": [
2059
  3,
2060
  3
2061
  ],
2062
+ "patch_size": [
2063
+ 7,
2064
+ 7
2065
+ ],
2066
  "patch_stride": [
2067
  4,
2068
  4
 
2071
  2,
2072
  2
2073
  ],
 
2074
  "stage_names": [
2075
  "stem",
2076
  "stage1",
 
2079
  "stage4"
2080
  ],
2081
  "torch_dtype": "float32",
2082
+ "transformers_version": "4.41.0.dev0",
2083
+ "use_separate_position_embedding": false
2084
  }