Divyasreepat commited on
Commit
cffe32b
1 Parent(s): 6e96b6c

Upload folder using huggingface_hub

Browse files
Files changed (8) hide show
  1. README.md +34 -0
  2. config.json +101 -0
  3. image_converter.json +33 -0
  4. metadata.json +6 -0
  5. model.weights.h5 +3 -0
  6. preprocessor.json +51 -0
  7. task.json +164 -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
+ * **width_coefficient:** 1.0
11
+ * **depth_coefficient:** 1.0
12
+ * **dropout:** 0
13
+ * **depth_divisor:** 8
14
+ * **min_depth:** None
15
+ * **activation:** relu
16
+ * **input_shape:** [None, None, 3]
17
+ * **stackwise_kernel_sizes:** [3, 3, 3, 5, 5, 5]
18
+ * **stackwise_num_repeats:** [1, 2, 4, 5, 4, 2]
19
+ * **stackwise_input_filters:** [32, 24, 32, 48, 96, 144]
20
+ * **stackwise_output_filters:** [24, 32, 48, 96, 144, 192]
21
+ * **stackwise_expansion_ratios:** [4, 8, 8, 8, 8, 8]
22
+ * **stackwise_squeeze_and_excite_ratios:** [0, 0, 0, 0, 0, 0]
23
+ * **stackwise_strides:** [1, 2, 2, 2, 1, 2]
24
+ * **stackwise_block_types:** ['fused', 'fused', 'fused', 'unfused', 'unfused', 'unfused']
25
+ * **stackwise_force_input_filters:** [[24, 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,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "width_coefficient": 1.0,
8
+ "depth_coefficient": 1.0,
9
+ "dropout": 0,
10
+ "depth_divisor": 8,
11
+ "min_depth": null,
12
+ "activation": "relu",
13
+ "input_shape": [
14
+ null,
15
+ null,
16
+ 3
17
+ ],
18
+ "stackwise_kernel_sizes": [
19
+ 3,
20
+ 3,
21
+ 3,
22
+ 5,
23
+ 5,
24
+ 5
25
+ ],
26
+ "stackwise_num_repeats": [
27
+ 1,
28
+ 2,
29
+ 4,
30
+ 5,
31
+ 4,
32
+ 2
33
+ ],
34
+ "stackwise_input_filters": [
35
+ 32,
36
+ 24,
37
+ 32,
38
+ 48,
39
+ 96,
40
+ 144
41
+ ],
42
+ "stackwise_output_filters": [
43
+ 24,
44
+ 32,
45
+ 48,
46
+ 96,
47
+ 144,
48
+ 192
49
+ ],
50
+ "stackwise_expansion_ratios": [
51
+ 4,
52
+ 8,
53
+ 8,
54
+ 8,
55
+ 8,
56
+ 8
57
+ ],
58
+ "stackwise_squeeze_and_excite_ratios": [
59
+ 0,
60
+ 0,
61
+ 0,
62
+ 0,
63
+ 0,
64
+ 0
65
+ ],
66
+ "stackwise_strides": [
67
+ 1,
68
+ 2,
69
+ 2,
70
+ 2,
71
+ 1,
72
+ 2
73
+ ],
74
+ "stackwise_block_types": [
75
+ "fused",
76
+ "fused",
77
+ "fused",
78
+ "unfused",
79
+ "unfused",
80
+ "unfused"
81
+ ],
82
+ "stackwise_force_input_filters": [
83
+ [
84
+ 24,
85
+ 0,
86
+ 0,
87
+ 0,
88
+ 0,
89
+ 0
90
+ ]
91
+ ],
92
+ "include_stem_padding": true,
93
+ "use_depth_divisor_as_min_depth": true,
94
+ "cap_round_filter_decrease": true,
95
+ "stem_conv_padding": "valid",
96
+ "batch_norm_momentum": 0.9,
97
+ "batch_norm_epsilon": 1e-05,
98
+ "projection_activation": null
99
+ },
100
+ "registered_name": "keras_hub>EfficientNetBackbone"
101
+ }
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
+ 224,
17
+ 224
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,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "keras_version": "3.5.0",
3
+ "keras_hub_version": "0.17.0.dev0",
4
+ "parameter_count": 4208832,
5
+ "date_saved": "2024-11-07@14:14:03"
6
+ }
model.weights.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b49619ebbc9870702b37960002e6042ce121c71d56574d1798c06c18706d806
3
+ size 17248968
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
+ 224,
31
+ 224
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,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "width_coefficient": 1.0,
12
+ "depth_coefficient": 1.0,
13
+ "dropout": 0,
14
+ "depth_divisor": 8,
15
+ "min_depth": null,
16
+ "activation": "relu",
17
+ "input_shape": [
18
+ null,
19
+ null,
20
+ 3
21
+ ],
22
+ "stackwise_kernel_sizes": [
23
+ 3,
24
+ 3,
25
+ 3,
26
+ 5,
27
+ 5,
28
+ 5
29
+ ],
30
+ "stackwise_num_repeats": [
31
+ 1,
32
+ 2,
33
+ 4,
34
+ 5,
35
+ 4,
36
+ 2
37
+ ],
38
+ "stackwise_input_filters": [
39
+ 32,
40
+ 24,
41
+ 32,
42
+ 48,
43
+ 96,
44
+ 144
45
+ ],
46
+ "stackwise_output_filters": [
47
+ 24,
48
+ 32,
49
+ 48,
50
+ 96,
51
+ 144,
52
+ 192
53
+ ],
54
+ "stackwise_expansion_ratios": [
55
+ 4,
56
+ 8,
57
+ 8,
58
+ 8,
59
+ 8,
60
+ 8
61
+ ],
62
+ "stackwise_squeeze_and_excite_ratios": [
63
+ 0,
64
+ 0,
65
+ 0,
66
+ 0,
67
+ 0,
68
+ 0
69
+ ],
70
+ "stackwise_strides": [
71
+ 1,
72
+ 2,
73
+ 2,
74
+ 2,
75
+ 1,
76
+ 2
77
+ ],
78
+ "stackwise_block_types": [
79
+ "fused",
80
+ "fused",
81
+ "fused",
82
+ "unfused",
83
+ "unfused",
84
+ "unfused"
85
+ ],
86
+ "stackwise_force_input_filters": [
87
+ [
88
+ 24,
89
+ 0,
90
+ 0,
91
+ 0,
92
+ 0,
93
+ 0
94
+ ]
95
+ ],
96
+ "include_stem_padding": true,
97
+ "use_depth_divisor_as_min_depth": true,
98
+ "cap_round_filter_decrease": true,
99
+ "stem_conv_padding": "valid",
100
+ "batch_norm_momentum": 0.9,
101
+ "batch_norm_epsilon": 1e-05,
102
+ "projection_activation": null
103
+ },
104
+ "registered_name": "keras_hub>EfficientNetBackbone"
105
+ },
106
+ "preprocessor": {
107
+ "module": "keras_hub.src.models.efficientnet.efficientnet_image_classifier_preprocessor",
108
+ "class_name": "EfficientNetImageClassifierPreprocessor",
109
+ "config": {
110
+ "name": "efficient_net_image_classifier_preprocessor",
111
+ "trainable": true,
112
+ "dtype": {
113
+ "module": "keras",
114
+ "class_name": "DTypePolicy",
115
+ "config": {
116
+ "name": "float32"
117
+ },
118
+ "registered_name": null
119
+ },
120
+ "image_converter": {
121
+ "module": "keras_hub.src.models.efficientnet.efficientnet_image_converter",
122
+ "class_name": "EfficientNetImageConverter",
123
+ "config": {
124
+ "name": "efficient_net_image_converter",
125
+ "trainable": true,
126
+ "dtype": {
127
+ "module": "keras",
128
+ "class_name": "DTypePolicy",
129
+ "config": {
130
+ "name": "float32"
131
+ },
132
+ "registered_name": null
133
+ },
134
+ "image_size": [
135
+ 224,
136
+ 224
137
+ ],
138
+ "scale": [
139
+ 0.017124753831663668,
140
+ 0.01750700280112045,
141
+ 0.017429193899782133
142
+ ],
143
+ "offset": [
144
+ -2.1179039301310043,
145
+ -2.0357142857142856,
146
+ -1.8044444444444445
147
+ ],
148
+ "interpolation": "bicubic",
149
+ "crop_to_aspect_ratio": true
150
+ },
151
+ "registered_name": "keras_hub>EfficientNetImageConverter"
152
+ },
153
+ "config_file": "preprocessor.json"
154
+ },
155
+ "registered_name": "keras_hub>EfficientNetImageClassifierPreprocessor"
156
+ },
157
+ "name": "efficient_net_image_classifier",
158
+ "num_classes": 1000,
159
+ "pooling": "avg",
160
+ "activation": null,
161
+ "dropout": 0.0
162
+ },
163
+ "registered_name": "keras_hub>EfficientNetImageClassifier"
164
+ }
task.weights.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5db8831fd302d6bb910b48144b719b24ddd1f06e88be2c3e95720de1e2e00c02
3
+ size 22389688