Upload folder using huggingface_hub
Browse files- config.json +42 -0
- onnx/model.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- preprocessor_config.json +29 -0
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"YolosForObjectDetection"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.0,
|
6 |
+
"auxiliary_loss": false,
|
7 |
+
"bbox_cost": 5,
|
8 |
+
"bbox_loss_coefficient": 5,
|
9 |
+
"class_cost": 1,
|
10 |
+
"eos_coefficient": 0.1,
|
11 |
+
"giou_cost": 2,
|
12 |
+
"giou_loss_coefficient": 2,
|
13 |
+
"hidden_act": "gelu",
|
14 |
+
"hidden_dropout_prob": 0.0,
|
15 |
+
"hidden_size": 384,
|
16 |
+
"id2label": {
|
17 |
+
"0": "Hole",
|
18 |
+
"1": "Stab",
|
19 |
+
"2": "Weardown"
|
20 |
+
},
|
21 |
+
"image_size": [
|
22 |
+
512,
|
23 |
+
864
|
24 |
+
],
|
25 |
+
"initializer_range": 0.02,
|
26 |
+
"intermediate_size": 1536,
|
27 |
+
"label2id": {
|
28 |
+
"Hole": 0,
|
29 |
+
"Stab": 1,
|
30 |
+
"Weardown": 2
|
31 |
+
},
|
32 |
+
"layer_norm_eps": 1e-12,
|
33 |
+
"model_type": "yolos",
|
34 |
+
"num_attention_heads": 6,
|
35 |
+
"num_channels": 3,
|
36 |
+
"num_detection_tokens": 100,
|
37 |
+
"num_hidden_layers": 12,
|
38 |
+
"patch_size": 16,
|
39 |
+
"qkv_bias": true,
|
40 |
+
"transformers_version": "4.42.4",
|
41 |
+
"use_mid_position_embeddings": true
|
42 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d672048b9db379ec8be03b0da7da3109eefc155dca31b2ab9c315267917c9170
|
3 |
+
size 122919980
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d672048b9db379ec8be03b0da7da3109eefc155dca31b2ab9c315267917c9170
|
3 |
+
size 122919980
|
preprocessor_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_convert_annotations": true,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_pad": true,
|
5 |
+
"do_rescale": true,
|
6 |
+
"do_resize": true,
|
7 |
+
"format": "coco_detection",
|
8 |
+
"image_mean": [
|
9 |
+
0.485,
|
10 |
+
0.456,
|
11 |
+
0.406
|
12 |
+
],
|
13 |
+
"image_processor_type": "YolosFeatureExtractor",
|
14 |
+
"image_std": [
|
15 |
+
0.229,
|
16 |
+
0.224,
|
17 |
+
0.225
|
18 |
+
],
|
19 |
+
"pad_size": {
|
20 |
+
"height": 480,
|
21 |
+
"width": 480
|
22 |
+
},
|
23 |
+
"resample": 2,
|
24 |
+
"rescale_factor": 0.00392156862745098,
|
25 |
+
"size": {
|
26 |
+
"max_height": 480,
|
27 |
+
"max_width": 480
|
28 |
+
}
|
29 |
+
}
|