hf-transformers-bot
commited on
Commit
•
13feabe
1
Parent(s):
e271085
Upload tiny models for RegNetModel
Browse files- config.json +38 -0
- preprocessor_config.json +23 -0
- pytorch_model.bin +3 -0
- tf_model.h5 +3 -0
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "tiny_models/regnet/RegNetModel",
|
3 |
+
"architectures": [
|
4 |
+
"RegNetModel"
|
5 |
+
],
|
6 |
+
"depths": [
|
7 |
+
1,
|
8 |
+
1,
|
9 |
+
2,
|
10 |
+
1
|
11 |
+
],
|
12 |
+
"downsample_in_first_stage": true,
|
13 |
+
"embedding_size": 32,
|
14 |
+
"embeddings_size": 10,
|
15 |
+
"groups_width": 64,
|
16 |
+
"hidden_act": "relu",
|
17 |
+
"hidden_sizes": [
|
18 |
+
10,
|
19 |
+
20,
|
20 |
+
30,
|
21 |
+
40
|
22 |
+
],
|
23 |
+
"id2label": {
|
24 |
+
"0": "LABEL_0",
|
25 |
+
"1": "LABEL_1",
|
26 |
+
"2": "LABEL_2"
|
27 |
+
},
|
28 |
+
"label2id": {
|
29 |
+
"LABEL_0": 0,
|
30 |
+
"LABEL_1": 1,
|
31 |
+
"LABEL_2": 2
|
32 |
+
},
|
33 |
+
"layer_type": "y",
|
34 |
+
"model_type": "regnet",
|
35 |
+
"num_channels": 3,
|
36 |
+
"torch_dtype": "float32",
|
37 |
+
"transformers_version": "4.28.0.dev0"
|
38 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"feature_extractor_type": "ConvNextFeatureExtractor",
|
7 |
+
"image_mean": [
|
8 |
+
0.485,
|
9 |
+
0.456,
|
10 |
+
0.406
|
11 |
+
],
|
12 |
+
"image_processor_type": "ConvNextImageProcessor",
|
13 |
+
"image_std": [
|
14 |
+
0.229,
|
15 |
+
0.224,
|
16 |
+
0.225
|
17 |
+
],
|
18 |
+
"resample": 3,
|
19 |
+
"rescale_factor": 0.00392156862745098,
|
20 |
+
"size": {
|
21 |
+
"shortest_edge": 224
|
22 |
+
}
|
23 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd53f0a2d4e0912c69240655d96c2706de8a024fb524b10762bb816125f414b2
|
3 |
+
size 240061
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3edb1667b4863fdae092b97bcbfb2782e657da2e07a188b36ace68222168064a
|
3 |
+
size 339120
|