Upload tiny models for ResNetForImageClassification
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": "temp/dummy/resnet/ResNetForImageClassification",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"ResNetForImageClassification"
|
| 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.25.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:f14e4d22b8855ecf6cfe723d664020af545f104056b0a9358971d61ddd6ff850
|
| 3 |
+
size 108085
|
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a359d4e86e837eb5751aed776669c747d91530fb7fb2ca8c29a5aeef4fefc77d
|
| 3 |
+
size 203224
|