Commit
·
89b7683
1
Parent(s):
0181cb9
Upload tiny models for YolosModel
Browse files- config.json +43 -0
- preprocessor_config.json +28 -0
- pytorch_model.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"YolosModel"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.1,
|
| 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.1,
|
| 15 |
+
"hidden_size": 32,
|
| 16 |
+
"id2label": {
|
| 17 |
+
"0": "LABEL_0",
|
| 18 |
+
"1": "LABEL_1",
|
| 19 |
+
"2": "LABEL_2"
|
| 20 |
+
},
|
| 21 |
+
"image_size": [
|
| 22 |
+
30,
|
| 23 |
+
30
|
| 24 |
+
],
|
| 25 |
+
"initializer_range": 0.02,
|
| 26 |
+
"intermediate_size": 37,
|
| 27 |
+
"label2id": {
|
| 28 |
+
"LABEL_0": 0,
|
| 29 |
+
"LABEL_1": 1,
|
| 30 |
+
"LABEL_2": 2
|
| 31 |
+
},
|
| 32 |
+
"layer_norm_eps": 1e-12,
|
| 33 |
+
"model_type": "yolos",
|
| 34 |
+
"num_attention_heads": 4,
|
| 35 |
+
"num_channels": 3,
|
| 36 |
+
"num_detection_tokens": 10,
|
| 37 |
+
"num_hidden_layers": 5,
|
| 38 |
+
"patch_size": 2,
|
| 39 |
+
"qkv_bias": true,
|
| 40 |
+
"torch_dtype": "float32",
|
| 41 |
+
"transformers_version": "4.28.0.dev0",
|
| 42 |
+
"use_mid_position_embeddings": true
|
| 43 |
+
}
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": [
|
| 3 |
+
30,
|
| 4 |
+
30
|
| 5 |
+
],
|
| 6 |
+
"do_normalize": true,
|
| 7 |
+
"do_pad": true,
|
| 8 |
+
"do_rescale": true,
|
| 9 |
+
"do_resize": true,
|
| 10 |
+
"format": "coco_detection",
|
| 11 |
+
"image_mean": [
|
| 12 |
+
0.485,
|
| 13 |
+
0.456,
|
| 14 |
+
0.406
|
| 15 |
+
],
|
| 16 |
+
"image_processor_type": "YolosImageProcessor",
|
| 17 |
+
"image_std": [
|
| 18 |
+
0.229,
|
| 19 |
+
0.224,
|
| 20 |
+
0.225
|
| 21 |
+
],
|
| 22 |
+
"resample": 2,
|
| 23 |
+
"rescale_factor": 0.00392156862745098,
|
| 24 |
+
"size": {
|
| 25 |
+
"height": 30,
|
| 26 |
+
"width": 30
|
| 27 |
+
}
|
| 28 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63ef178841f0ae93fc310202b0d0bf3cbd35496f6ca13c90ca176d5e0d6a91fc
|
| 3 |
+
size 322687
|