Upload 3 files
Browse files- config.json +44 -0
- model.safetensors +3 -0
- preprocessor_config.json +45 -0
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "hustvl/yolos-small",
|
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": 384,
|
17 |
+
"id2label": {
|
18 |
+
"0": "fire",
|
19 |
+
"1": "vehicle",
|
20 |
+
"2": "human"
|
21 |
+
},
|
22 |
+
"image_size": [
|
23 |
+
512,
|
24 |
+
864
|
25 |
+
],
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"intermediate_size": 1536,
|
28 |
+
"label2id": {
|
29 |
+
"fire": "0",
|
30 |
+
"human": "2",
|
31 |
+
"vehicle": "1"
|
32 |
+
},
|
33 |
+
"layer_norm_eps": 1e-12,
|
34 |
+
"model_type": "yolos",
|
35 |
+
"num_attention_heads": 6,
|
36 |
+
"num_channels": 3,
|
37 |
+
"num_detection_tokens": 100,
|
38 |
+
"num_hidden_layers": 12,
|
39 |
+
"patch_size": 16,
|
40 |
+
"qkv_bias": true,
|
41 |
+
"torch_dtype": "float32",
|
42 |
+
"transformers_version": "4.40.0",
|
43 |
+
"use_mid_position_embeddings": true
|
44 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e4bb274cc32b3c4b778f1835cf1286675b0c25e2b34dc35e27b983ecb0570dbf
|
3 |
+
size 122627752
|
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": "YolosImageProcessor",
|
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": 1333,
|
43 |
+
"shortest_edge": 800
|
44 |
+
}
|
45 |
+
}
|