Commit
·
8a890bb
1
Parent(s):
e3670fc
Upload tiny models for ResNetModel
Browse files- config.json +49 -0
- preprocessor_config.json +23 -0
- pytorch_model.bin +3 -0
- tf_model.h5 +3 -0
config.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "tiny_models/resnet/ResNetModel",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"ResNetModel"
|
| 5 |
+
],
|
| 6 |
+
"depths": [
|
| 7 |
+
1,
|
| 8 |
+
1,
|
| 9 |
+
2,
|
| 10 |
+
1
|
| 11 |
+
],
|
| 12 |
+
"downsample_in_first_stage": false,
|
| 13 |
+
"embedding_size": 64,
|
| 14 |
+
"embeddings_size": 10,
|
| 15 |
+
"hidden_act": "relu",
|
| 16 |
+
"hidden_sizes": [
|
| 17 |
+
10,
|
| 18 |
+
20,
|
| 19 |
+
30,
|
| 20 |
+
40
|
| 21 |
+
],
|
| 22 |
+
"id2label": {
|
| 23 |
+
"0": "LABEL_0",
|
| 24 |
+
"1": "LABEL_1",
|
| 25 |
+
"2": "LABEL_2"
|
| 26 |
+
},
|
| 27 |
+
"label2id": {
|
| 28 |
+
"LABEL_0": 0,
|
| 29 |
+
"LABEL_1": 1,
|
| 30 |
+
"LABEL_2": 2
|
| 31 |
+
},
|
| 32 |
+
"layer_type": "bottleneck",
|
| 33 |
+
"model_type": "resnet",
|
| 34 |
+
"num_channels": 3,
|
| 35 |
+
"out_features": [
|
| 36 |
+
"stage2",
|
| 37 |
+
"stage3",
|
| 38 |
+
"stage4"
|
| 39 |
+
],
|
| 40 |
+
"stage_names": [
|
| 41 |
+
"stem",
|
| 42 |
+
"stage1",
|
| 43 |
+
"stage2",
|
| 44 |
+
"stage3",
|
| 45 |
+
"stage4"
|
| 46 |
+
],
|
| 47 |
+
"torch_dtype": "float32",
|
| 48 |
+
"transformers_version": "4.28.0.dev0"
|
| 49 |
+
}
|
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:c4ee6908dc8d6337dc32efc563a84ddae6fd2ab90d62253f9c9a40f64453397b
|
| 3 |
+
size 106157
|
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6deef0f305ec61480fec494f8b3b50c144bbdd9e8971a5b2849be43e06bce4b0
|
| 3 |
+
size 189272
|