alfredcs commited on
Commit
1d84e5a
1 Parent(s): a754ece
Files changed (1) hide show
  1. preprocessor_config.json +48 -0
preprocessor_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "airplane",
13
+ "1": "automobile",
14
+ "2": "bird",
15
+ "3": "cat",
16
+ "4": "deer",
17
+ "5": "dog",
18
+ "6": "frog",
19
+ "7": "horse",
20
+ "8": "ship",
21
+ "9": "truck"
22
+ },
23
+ "image_size": 224,
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "airplane": 0,
28
+ "automobile": 1,
29
+ "bird": 2,
30
+ "cat": 3,
31
+ "deer": 4,
32
+ "dog": 5,
33
+ "frog": 6,
34
+ "horse": 7,
35
+ "ship": 8,
36
+ "truck": 9
37
+ },
38
+ "layer_norm_eps": 1e-12,
39
+ "model_type": "vit",
40
+ "num_attention_heads": 12,
41
+ "num_channels": 3,
42
+ "num_hidden_layers": 12,
43
+ "patch_size": 16,
44
+ "problem_type": "single_label_classification",
45
+ "qkv_bias": true,
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.17.0"
48
+ }