Upload 2 files
Browse files- config.json +33 -0
- preprocessor_config.json +45 -0
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "savioratharv/pothole_detection",
|
3 |
+
"architectures": [
|
4 |
+
"YolosForObjectDetection"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"auxiliary_loss": false,
|
8 |
+
"bbox_cost": 5,
|
9 |
+
"bbox_loss_coefficient": 5,
|
10 |
+
"class_cost": 1,
|
11 |
+
"eos_coefficient": 0.1,
|
12 |
+
"giou_cost": 2,
|
13 |
+
"giou_loss_coefficient": 2,
|
14 |
+
"hidden_act": "gelu",
|
15 |
+
"hidden_dropout_prob": 0.0,
|
16 |
+
"hidden_size": 192,
|
17 |
+
"image_size": [
|
18 |
+
800,
|
19 |
+
1333
|
20 |
+
],
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 768,
|
23 |
+
"layer_norm_eps": 1e-12,
|
24 |
+
"model_type": "yolos",
|
25 |
+
"num_attention_heads": 3,
|
26 |
+
"num_channels": 3,
|
27 |
+
"num_detection_tokens": 100,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"patch_size": 16,
|
30 |
+
"qkv_bias": true,
|
31 |
+
"transformers_version": "4.39.3",
|
32 |
+
"use_mid_position_embeddings": false
|
33 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"annotations",
|
5 |
+
"return_segmentation_masks",
|
6 |
+
"masks_path",
|
7 |
+
"do_resize",
|
8 |
+
"size",
|
9 |
+
"resample",
|
10 |
+
"do_rescale",
|
11 |
+
"rescale_factor",
|
12 |
+
"do_normalize",
|
13 |
+
"image_mean",
|
14 |
+
"image_std",
|
15 |
+
"do_convert_annotations",
|
16 |
+
"do_pad",
|
17 |
+
"format",
|
18 |
+
"return_tensors",
|
19 |
+
"data_format",
|
20 |
+
"input_data_format"
|
21 |
+
],
|
22 |
+
"do_convert_annotations": true,
|
23 |
+
"do_normalize": true,
|
24 |
+
"do_pad": true,
|
25 |
+
"do_rescale": true,
|
26 |
+
"do_resize": true,
|
27 |
+
"format": "coco_detection",
|
28 |
+
"image_mean": [
|
29 |
+
0.485,
|
30 |
+
0.456,
|
31 |
+
0.406
|
32 |
+
],
|
33 |
+
"image_processor_type": "YolosFeatureExtractor",
|
34 |
+
"image_std": [
|
35 |
+
0.229,
|
36 |
+
0.224,
|
37 |
+
0.225
|
38 |
+
],
|
39 |
+
"resample": 2,
|
40 |
+
"rescale_factor": 0.00392156862745098,
|
41 |
+
"size": {
|
42 |
+
"longest_edge": 864,
|
43 |
+
"shortest_edge": 512
|
44 |
+
}
|
45 |
+
}
|