Upload folder using huggingface_hub
Browse files- onnx/config.json +51 -0
- onnx/model.onnx +3 -0
- onnx/preprocessor_config.json +37 -0
onnx/config.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "pszemraj/convnextv2-nano-22k-384-boulderspot",
|
3 |
+
"architectures": [
|
4 |
+
"ConvNextV2ForImageClassification"
|
5 |
+
],
|
6 |
+
"depths": [
|
7 |
+
2,
|
8 |
+
2,
|
9 |
+
8,
|
10 |
+
2
|
11 |
+
],
|
12 |
+
"drop_path_rate": 0.0,
|
13 |
+
"finetuning_task": "image-classification",
|
14 |
+
"hidden_act": "gelu",
|
15 |
+
"hidden_sizes": [
|
16 |
+
80,
|
17 |
+
160,
|
18 |
+
320,
|
19 |
+
640
|
20 |
+
],
|
21 |
+
"id2label": {
|
22 |
+
"0": "bouldering_area",
|
23 |
+
"1": "other"
|
24 |
+
},
|
25 |
+
"image_size": 224,
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"label2id": {
|
28 |
+
"bouldering_area": "0",
|
29 |
+
"other": "1"
|
30 |
+
},
|
31 |
+
"layer_norm_eps": 1e-12,
|
32 |
+
"model_type": "convnextv2",
|
33 |
+
"num_channels": 3,
|
34 |
+
"num_stages": 4,
|
35 |
+
"out_features": [
|
36 |
+
"stage4"
|
37 |
+
],
|
38 |
+
"out_indices": [
|
39 |
+
4
|
40 |
+
],
|
41 |
+
"patch_size": 4,
|
42 |
+
"problem_type": "single_label_classification",
|
43 |
+
"stage_names": [
|
44 |
+
"stem",
|
45 |
+
"stage1",
|
46 |
+
"stage2",
|
47 |
+
"stage3",
|
48 |
+
"stage4"
|
49 |
+
],
|
50 |
+
"transformers_version": "4.38.2"
|
51 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e7e020417b4ae82248338df7fedbd6f16b6387ce281b04d5422cca317160d20
|
3 |
+
size 60083243
|
onnx/preprocessor_config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"crop_pct",
|
7 |
+
"resample",
|
8 |
+
"do_rescale",
|
9 |
+
"rescale_factor",
|
10 |
+
"do_normalize",
|
11 |
+
"image_mean",
|
12 |
+
"image_std",
|
13 |
+
"return_tensors",
|
14 |
+
"data_format",
|
15 |
+
"input_data_format"
|
16 |
+
],
|
17 |
+
"crop_pct": 0.875,
|
18 |
+
"do_normalize": true,
|
19 |
+
"do_rescale": true,
|
20 |
+
"do_resize": true,
|
21 |
+
"image_mean": [
|
22 |
+
0.485,
|
23 |
+
0.456,
|
24 |
+
0.406
|
25 |
+
],
|
26 |
+
"image_processor_type": "ConvNextImageProcessor",
|
27 |
+
"image_std": [
|
28 |
+
0.229,
|
29 |
+
0.224,
|
30 |
+
0.225
|
31 |
+
],
|
32 |
+
"resample": 3,
|
33 |
+
"rescale_factor": 0.00392156862745098,
|
34 |
+
"size": {
|
35 |
+
"shortest_edge": 384
|
36 |
+
}
|
37 |
+
}
|