mattdangerw commited on
Commit
f936419
1 Parent(s): 1e1dca1

Upload folder using huggingface_hub

Browse files
Files changed (8) hide show
  1. README.md +34 -0
  2. config.json +113 -0
  3. image_converter.json +33 -0
  4. metadata.json +9 -0
  5. model.weights.h5 +3 -0
  6. preprocessor.json +51 -0
  7. task.json +176 -0
  8. task.weights.h5 +3 -0
README.md ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: keras-hub
3
+ ---
4
+ This is a [`EfficientNet` model](https://keras.io/api/keras_hub/models/efficient_net) uploaded using the KerasHub library and can be used with JAX, TensorFlow, and PyTorch backends.
5
+ This model is related to a `ImageClassifier` task.
6
+
7
+ Model config:
8
+ * **name:** efficient_net_backbone
9
+ * **trainable:** True
10
+ * **stackwise_width_coefficients:** [1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
11
+ * **stackwise_depth_coefficients:** [1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
12
+ * **dropout:** 0
13
+ * **depth_divisor:** 8
14
+ * **min_depth:** None
15
+ * **activation:** silu
16
+ * **input_shape:** [None, None, 3]
17
+ * **stackwise_kernel_sizes:** [3, 3, 3, 3, 3, 3]
18
+ * **stackwise_num_repeats:** [2, 4, 4, 6, 9, 15]
19
+ * **stackwise_input_filters:** [24, 24, 48, 64, 128, 160]
20
+ * **stackwise_output_filters:** [24, 48, 64, 128, 160, 272]
21
+ * **stackwise_expansion_ratios:** [1, 4, 4, 4, 6, 6]
22
+ * **stackwise_squeeze_and_excite_ratios:** [0, 0, 0, 0.25, 0.25, 0.25]
23
+ * **stackwise_strides:** [1, 2, 2, 2, 1, 2]
24
+ * **stackwise_block_types:** ['fused', 'fused', 'fused', 'unfused', 'unfused', 'unfused']
25
+ * **stackwise_force_input_filters:** [0, 0, 0, 0, 0, 0]
26
+ * **include_stem_padding:** True
27
+ * **use_depth_divisor_as_min_depth:** True
28
+ * **cap_round_filter_decrease:** True
29
+ * **stem_conv_padding:** valid
30
+ * **batch_norm_momentum:** 0.9
31
+ * **batch_norm_epsilon:** 1e-05
32
+ * **projection_activation:** None
33
+
34
+ This model card has been generated automatically and should be completed by the model author. See [Model Cards documentation](https://huggingface.co/docs/hub/model-cards) for more information.
config.json ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "module": "keras_hub.src.models.efficientnet.efficientnet_backbone",
3
+ "class_name": "EfficientNetBackbone",
4
+ "config": {
5
+ "name": "efficient_net_backbone",
6
+ "trainable": true,
7
+ "stackwise_width_coefficients": [
8
+ 1.0,
9
+ 1.0,
10
+ 1.0,
11
+ 1.0,
12
+ 1.0,
13
+ 1.0
14
+ ],
15
+ "stackwise_depth_coefficients": [
16
+ 1.0,
17
+ 1.0,
18
+ 1.0,
19
+ 1.0,
20
+ 1.0,
21
+ 1.0
22
+ ],
23
+ "dropout": 0,
24
+ "depth_divisor": 8,
25
+ "min_depth": null,
26
+ "activation": "silu",
27
+ "input_shape": [
28
+ null,
29
+ null,
30
+ 3
31
+ ],
32
+ "stackwise_kernel_sizes": [
33
+ 3,
34
+ 3,
35
+ 3,
36
+ 3,
37
+ 3,
38
+ 3
39
+ ],
40
+ "stackwise_num_repeats": [
41
+ 2,
42
+ 4,
43
+ 4,
44
+ 6,
45
+ 9,
46
+ 15
47
+ ],
48
+ "stackwise_input_filters": [
49
+ 24,
50
+ 24,
51
+ 48,
52
+ 64,
53
+ 128,
54
+ 160
55
+ ],
56
+ "stackwise_output_filters": [
57
+ 24,
58
+ 48,
59
+ 64,
60
+ 128,
61
+ 160,
62
+ 272
63
+ ],
64
+ "stackwise_expansion_ratios": [
65
+ 1,
66
+ 4,
67
+ 4,
68
+ 4,
69
+ 6,
70
+ 6
71
+ ],
72
+ "stackwise_squeeze_and_excite_ratios": [
73
+ 0,
74
+ 0,
75
+ 0,
76
+ 0.25,
77
+ 0.25,
78
+ 0.25
79
+ ],
80
+ "stackwise_strides": [
81
+ 1,
82
+ 2,
83
+ 2,
84
+ 2,
85
+ 1,
86
+ 2
87
+ ],
88
+ "stackwise_block_types": [
89
+ "fused",
90
+ "fused",
91
+ "fused",
92
+ "unfused",
93
+ "unfused",
94
+ "unfused"
95
+ ],
96
+ "stackwise_force_input_filters": [
97
+ 0,
98
+ 0,
99
+ 0,
100
+ 0,
101
+ 0,
102
+ 0
103
+ ],
104
+ "include_stem_padding": true,
105
+ "use_depth_divisor_as_min_depth": true,
106
+ "cap_round_filter_decrease": true,
107
+ "stem_conv_padding": "valid",
108
+ "batch_norm_momentum": 0.9,
109
+ "batch_norm_epsilon": 1e-05,
110
+ "projection_activation": null
111
+ },
112
+ "registered_name": "keras_hub>EfficientNetBackbone"
113
+ }
image_converter.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "module": "keras_hub.src.models.efficientnet.efficientnet_image_converter",
3
+ "class_name": "EfficientNetImageConverter",
4
+ "config": {
5
+ "name": "efficient_net_image_converter",
6
+ "trainable": true,
7
+ "dtype": {
8
+ "module": "keras",
9
+ "class_name": "DTypePolicy",
10
+ "config": {
11
+ "name": "float32"
12
+ },
13
+ "registered_name": null
14
+ },
15
+ "image_size": [
16
+ 288,
17
+ 288
18
+ ],
19
+ "scale": [
20
+ 0.017124753831663668,
21
+ 0.01750700280112045,
22
+ 0.017429193899782133
23
+ ],
24
+ "offset": [
25
+ -2.1179039301310043,
26
+ -2.0357142857142856,
27
+ -1.8044444444444445
28
+ ],
29
+ "interpolation": "bicubic",
30
+ "crop_to_aspect_ratio": true
31
+ },
32
+ "registered_name": "keras_hub>EfficientNetImageConverter"
33
+ }
metadata.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "keras_version": "3.7.0",
3
+ "keras_hub_version": "0.19.0",
4
+ "parameter_count": 22167832,
5
+ "date_saved": "2024-12-20@20:09:45",
6
+ "tasks": [
7
+ "ImageClassifier"
8
+ ]
9
+ }
model.weights.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f54b4ad76f1ea1506bfc433e9e7ffc139b8b210624ceda243d749f73a3d932c
3
+ size 90303552
preprocessor.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "module": "keras_hub.src.models.efficientnet.efficientnet_image_classifier_preprocessor",
3
+ "class_name": "EfficientNetImageClassifierPreprocessor",
4
+ "config": {
5
+ "name": "efficient_net_image_classifier_preprocessor",
6
+ "trainable": true,
7
+ "dtype": {
8
+ "module": "keras",
9
+ "class_name": "DTypePolicy",
10
+ "config": {
11
+ "name": "float32"
12
+ },
13
+ "registered_name": null
14
+ },
15
+ "image_converter": {
16
+ "module": "keras_hub.src.models.efficientnet.efficientnet_image_converter",
17
+ "class_name": "EfficientNetImageConverter",
18
+ "config": {
19
+ "name": "efficient_net_image_converter",
20
+ "trainable": true,
21
+ "dtype": {
22
+ "module": "keras",
23
+ "class_name": "DTypePolicy",
24
+ "config": {
25
+ "name": "float32"
26
+ },
27
+ "registered_name": null
28
+ },
29
+ "image_size": [
30
+ 288,
31
+ 288
32
+ ],
33
+ "scale": [
34
+ 0.017124753831663668,
35
+ 0.01750700280112045,
36
+ 0.017429193899782133
37
+ ],
38
+ "offset": [
39
+ -2.1179039301310043,
40
+ -2.0357142857142856,
41
+ -1.8044444444444445
42
+ ],
43
+ "interpolation": "bicubic",
44
+ "crop_to_aspect_ratio": true
45
+ },
46
+ "registered_name": "keras_hub>EfficientNetImageConverter"
47
+ },
48
+ "config_file": "preprocessor.json"
49
+ },
50
+ "registered_name": "keras_hub>EfficientNetImageClassifierPreprocessor"
51
+ }
task.json ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "module": "keras_hub.src.models.efficientnet.efficientnet_image_classifier",
3
+ "class_name": "EfficientNetImageClassifier",
4
+ "config": {
5
+ "backbone": {
6
+ "module": "keras_hub.src.models.efficientnet.efficientnet_backbone",
7
+ "class_name": "EfficientNetBackbone",
8
+ "config": {
9
+ "name": "efficient_net_backbone",
10
+ "trainable": true,
11
+ "stackwise_width_coefficients": [
12
+ 1.0,
13
+ 1.0,
14
+ 1.0,
15
+ 1.0,
16
+ 1.0,
17
+ 1.0
18
+ ],
19
+ "stackwise_depth_coefficients": [
20
+ 1.0,
21
+ 1.0,
22
+ 1.0,
23
+ 1.0,
24
+ 1.0,
25
+ 1.0
26
+ ],
27
+ "dropout": 0,
28
+ "depth_divisor": 8,
29
+ "min_depth": null,
30
+ "activation": "silu",
31
+ "input_shape": [
32
+ null,
33
+ null,
34
+ 3
35
+ ],
36
+ "stackwise_kernel_sizes": [
37
+ 3,
38
+ 3,
39
+ 3,
40
+ 3,
41
+ 3,
42
+ 3
43
+ ],
44
+ "stackwise_num_repeats": [
45
+ 2,
46
+ 4,
47
+ 4,
48
+ 6,
49
+ 9,
50
+ 15
51
+ ],
52
+ "stackwise_input_filters": [
53
+ 24,
54
+ 24,
55
+ 48,
56
+ 64,
57
+ 128,
58
+ 160
59
+ ],
60
+ "stackwise_output_filters": [
61
+ 24,
62
+ 48,
63
+ 64,
64
+ 128,
65
+ 160,
66
+ 272
67
+ ],
68
+ "stackwise_expansion_ratios": [
69
+ 1,
70
+ 4,
71
+ 4,
72
+ 4,
73
+ 6,
74
+ 6
75
+ ],
76
+ "stackwise_squeeze_and_excite_ratios": [
77
+ 0,
78
+ 0,
79
+ 0,
80
+ 0.25,
81
+ 0.25,
82
+ 0.25
83
+ ],
84
+ "stackwise_strides": [
85
+ 1,
86
+ 2,
87
+ 2,
88
+ 2,
89
+ 1,
90
+ 2
91
+ ],
92
+ "stackwise_block_types": [
93
+ "fused",
94
+ "fused",
95
+ "fused",
96
+ "unfused",
97
+ "unfused",
98
+ "unfused"
99
+ ],
100
+ "stackwise_force_input_filters": [
101
+ 0,
102
+ 0,
103
+ 0,
104
+ 0,
105
+ 0,
106
+ 0
107
+ ],
108
+ "include_stem_padding": true,
109
+ "use_depth_divisor_as_min_depth": true,
110
+ "cap_round_filter_decrease": true,
111
+ "stem_conv_padding": "valid",
112
+ "batch_norm_momentum": 0.9,
113
+ "batch_norm_epsilon": 1e-05,
114
+ "projection_activation": null
115
+ },
116
+ "registered_name": "keras_hub>EfficientNetBackbone"
117
+ },
118
+ "preprocessor": {
119
+ "module": "keras_hub.src.models.efficientnet.efficientnet_image_classifier_preprocessor",
120
+ "class_name": "EfficientNetImageClassifierPreprocessor",
121
+ "config": {
122
+ "name": "efficient_net_image_classifier_preprocessor",
123
+ "trainable": true,
124
+ "dtype": {
125
+ "module": "keras",
126
+ "class_name": "DTypePolicy",
127
+ "config": {
128
+ "name": "float32"
129
+ },
130
+ "registered_name": null
131
+ },
132
+ "image_converter": {
133
+ "module": "keras_hub.src.models.efficientnet.efficientnet_image_converter",
134
+ "class_name": "EfficientNetImageConverter",
135
+ "config": {
136
+ "name": "efficient_net_image_converter",
137
+ "trainable": true,
138
+ "dtype": {
139
+ "module": "keras",
140
+ "class_name": "DTypePolicy",
141
+ "config": {
142
+ "name": "float32"
143
+ },
144
+ "registered_name": null
145
+ },
146
+ "image_size": [
147
+ 288,
148
+ 288
149
+ ],
150
+ "scale": [
151
+ 0.017124753831663668,
152
+ 0.01750700280112045,
153
+ 0.017429193899782133
154
+ ],
155
+ "offset": [
156
+ -2.1179039301310043,
157
+ -2.0357142857142856,
158
+ -1.8044444444444445
159
+ ],
160
+ "interpolation": "bicubic",
161
+ "crop_to_aspect_ratio": true
162
+ },
163
+ "registered_name": "keras_hub>EfficientNetImageConverter"
164
+ },
165
+ "config_file": "preprocessor.json"
166
+ },
167
+ "registered_name": "keras_hub>EfficientNetImageClassifierPreprocessor"
168
+ },
169
+ "name": "efficient_net_image_classifier",
170
+ "num_classes": 1000,
171
+ "pooling": "avg",
172
+ "activation": null,
173
+ "dropout": 0.0
174
+ },
175
+ "registered_name": "keras_hub>EfficientNetImageClassifier"
176
+ }
task.weights.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6badf4c294f8fbf3a9741c8631ca3ea76ec4c5962d2fd932a1aa7e91910f90c8
3
+ size 97492352