Upload folder using huggingface_hub
Browse files- config.json +38 -0
- onnx/model.onnx +3 -0
- preprocessor_config.json +22 -0
config.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_attn_implementation_autoset": true,
|
| 3 |
+
"_name_or_path": "hf-internal-testing/tiny-random-RegNetForImageClassification",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"RegNetForImageClassification"
|
| 6 |
+
],
|
| 7 |
+
"depths": [
|
| 8 |
+
1,
|
| 9 |
+
1,
|
| 10 |
+
2,
|
| 11 |
+
1
|
| 12 |
+
],
|
| 13 |
+
"downsample_in_first_stage": true,
|
| 14 |
+
"embedding_size": 32,
|
| 15 |
+
"embeddings_size": 10,
|
| 16 |
+
"groups_width": 64,
|
| 17 |
+
"hidden_act": "relu",
|
| 18 |
+
"hidden_sizes": [
|
| 19 |
+
10,
|
| 20 |
+
20,
|
| 21 |
+
30,
|
| 22 |
+
40
|
| 23 |
+
],
|
| 24 |
+
"id2label": {
|
| 25 |
+
"0": "LABEL_0",
|
| 26 |
+
"1": "LABEL_1",
|
| 27 |
+
"2": "LABEL_2"
|
| 28 |
+
},
|
| 29 |
+
"label2id": {
|
| 30 |
+
"LABEL_0": 0,
|
| 31 |
+
"LABEL_1": 1,
|
| 32 |
+
"LABEL_2": 2
|
| 33 |
+
},
|
| 34 |
+
"layer_type": "y",
|
| 35 |
+
"model_type": "regnet",
|
| 36 |
+
"num_channels": 3,
|
| 37 |
+
"transformers_version": "4.48.2"
|
| 38 |
+
}
|
onnx/model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e0af3fc20ab4f348aa7b2ef1dfe36a62489a2219b97c6a4682c24f0ed0be6e7
|
| 3 |
+
size 216219
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_pct": 0.875,
|
| 3 |
+
"do_normalize": true,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 6 |
+
"image_mean": [
|
| 7 |
+
0.485,
|
| 8 |
+
0.456,
|
| 9 |
+
0.406
|
| 10 |
+
],
|
| 11 |
+
"image_processor_type": "ConvNextFeatureExtractor",
|
| 12 |
+
"image_std": [
|
| 13 |
+
0.229,
|
| 14 |
+
0.224,
|
| 15 |
+
0.225
|
| 16 |
+
],
|
| 17 |
+
"resample": 3,
|
| 18 |
+
"rescale_factor": 0.00392156862745098,
|
| 19 |
+
"size": {
|
| 20 |
+
"shortest_edge": 224
|
| 21 |
+
}
|
| 22 |
+
}
|