hf-transformers-bot commited on
Commit
29dd13d
1 Parent(s): 5bfc116

Upload tiny models for EfficientNetForImageClassification

Browse files
Files changed (3) hide show
  1. config.json +78 -0
  2. preprocessor_config.json +29 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "EfficientNetForImageClassification"
4
+ ],
5
+ "batch_norm_eps": 0.001,
6
+ "batch_norm_momentum": 0.99,
7
+ "depth_coefficient": 3.1,
8
+ "depth_divisor": 8,
9
+ "depthwise_padding": [],
10
+ "drop_connect_rate": 0.2,
11
+ "dropout_rate": 0.5,
12
+ "expand_ratios": [
13
+ 1,
14
+ 6,
15
+ 6
16
+ ],
17
+ "hidden_act": "gelu",
18
+ "hidden_dim": 2560,
19
+ "id2label": {
20
+ "0": "LABEL_0",
21
+ "1": "LABEL_1",
22
+ "2": "LABEL_2",
23
+ "3": "LABEL_3",
24
+ "4": "LABEL_4",
25
+ "5": "LABEL_5",
26
+ "6": "LABEL_6",
27
+ "7": "LABEL_7",
28
+ "8": "LABEL_8",
29
+ "9": "LABEL_9"
30
+ },
31
+ "image_size": 600,
32
+ "in_channels": [
33
+ 32,
34
+ 16,
35
+ 24
36
+ ],
37
+ "initializer_range": 0.02,
38
+ "kernel_sizes": [
39
+ 3,
40
+ 3,
41
+ 5
42
+ ],
43
+ "label2id": {
44
+ "LABEL_0": 0,
45
+ "LABEL_1": 1,
46
+ "LABEL_2": 2,
47
+ "LABEL_3": 3,
48
+ "LABEL_4": 4,
49
+ "LABEL_5": 5,
50
+ "LABEL_6": 6,
51
+ "LABEL_7": 7,
52
+ "LABEL_8": 8,
53
+ "LABEL_9": 9
54
+ },
55
+ "model_type": "efficientnet",
56
+ "num_block_repeats": [
57
+ 1,
58
+ 1,
59
+ 2
60
+ ],
61
+ "num_channels": 3,
62
+ "num_hidden_layers": 16,
63
+ "out_channels": [
64
+ 16,
65
+ 24,
66
+ 40
67
+ ],
68
+ "pooling_type": "mean",
69
+ "squeeze_expansion_ratio": 0.25,
70
+ "strides": [
71
+ 1,
72
+ 1,
73
+ 2
74
+ ],
75
+ "torch_dtype": "float32",
76
+ "transformers_version": "4.28.0.dev0",
77
+ "width_coefficient": 2.0
78
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 600,
4
+ "width": 600
5
+ },
6
+ "do_center_crop": false,
7
+ "do_normalize": true,
8
+ "do_rescale": true,
9
+ "do_resize": true,
10
+ "image_mean": [
11
+ 0.5,
12
+ 0.5,
13
+ 0.5
14
+ ],
15
+ "image_processor_type": "EfficientNetImageProcessor",
16
+ "image_std": [
17
+ 0.5,
18
+ 0.5,
19
+ 0.5
20
+ ],
21
+ "include_top": true,
22
+ "resample": 0,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "rescale_offset": false,
25
+ "size": {
26
+ "height": 600,
27
+ "width": 600
28
+ }
29
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:edc54bbbd7520484bbb389c33ef095ddbd00d8e3fb7c98db74b4a3f217875512
3
+ size 4612365