Commit
·
5687960
1
Parent(s):
2b6b748
Add model
Browse files- config.json +25 -7
- pytorch_model.bin +3 -0
config.json
CHANGED
@@ -2,6 +2,9 @@
|
|
2 |
"act_decoder": "relu",
|
3 |
"act_encoder": "silu",
|
4 |
"act_presnet": "relu",
|
|
|
|
|
|
|
5 |
"aux_loss": true,
|
6 |
"block_nums": [
|
7 |
3,
|
@@ -15,22 +18,28 @@
|
|
15 |
"dim_feedforward": 1024,
|
16 |
"dropout": 0.0,
|
17 |
"enc_act": "gelu",
|
|
|
18 |
"eps": 0.01,
|
19 |
"eval_idx": -1,
|
20 |
"eval_size": null,
|
21 |
-
"eval_spatial_size":
|
|
|
|
|
|
|
22 |
"expansion": 1.0,
|
23 |
"feat_channels": [
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
],
|
28 |
"feat_strides": [
|
29 |
8,
|
30 |
16,
|
31 |
32
|
32 |
],
|
33 |
-
"
|
|
|
|
|
34 |
"freeze_norm": true,
|
35 |
"hidden_dim": 256,
|
36 |
"in_channels": [
|
@@ -42,6 +51,11 @@
|
|
42 |
"is_encoder_decoder": true,
|
43 |
"label_noise_ratio": 0.5,
|
44 |
"learnt_init_query": false,
|
|
|
|
|
|
|
|
|
|
|
45 |
"model_type": "rt_detr",
|
46 |
"num_classes": 80,
|
47 |
"num_decoder_layers": 6,
|
@@ -56,14 +70,18 @@
|
|
56 |
"position_embed_type": "sine",
|
57 |
"pretrained": true,
|
58 |
"return_idx": [
|
59 |
-
0,
|
60 |
1,
|
61 |
2,
|
62 |
3
|
63 |
],
|
|
|
64 |
"transformers_version": "4.35.0.dev0",
|
65 |
"use_encoder_idx": [
|
66 |
2
|
67 |
],
|
68 |
-
"
|
|
|
|
|
|
|
|
|
69 |
}
|
|
|
2 |
"act_decoder": "relu",
|
3 |
"act_encoder": "silu",
|
4 |
"act_presnet": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"RTDetrForObjectDetection"
|
7 |
+
],
|
8 |
"aux_loss": true,
|
9 |
"block_nums": [
|
10 |
3,
|
|
|
18 |
"dim_feedforward": 1024,
|
19 |
"dropout": 0.0,
|
20 |
"enc_act": "gelu",
|
21 |
+
"eos_coefficient": 0.1,
|
22 |
"eps": 0.01,
|
23 |
"eval_idx": -1,
|
24 |
"eval_size": null,
|
25 |
+
"eval_spatial_size": [
|
26 |
+
640,
|
27 |
+
640
|
28 |
+
],
|
29 |
"expansion": 1.0,
|
30 |
"feat_channels": [
|
31 |
+
256,
|
32 |
+
256,
|
33 |
+
256
|
34 |
],
|
35 |
"feat_strides": [
|
36 |
8,
|
37 |
16,
|
38 |
32
|
39 |
],
|
40 |
+
"focal_loss_alpha": 0.75,
|
41 |
+
"focal_loss_gamma": 2.0,
|
42 |
+
"freeze_at": 0,
|
43 |
"freeze_norm": true,
|
44 |
"hidden_dim": 256,
|
45 |
"in_channels": [
|
|
|
51 |
"is_encoder_decoder": true,
|
52 |
"label_noise_ratio": 0.5,
|
53 |
"learnt_init_query": false,
|
54 |
+
"matcher_alpha": 0.25,
|
55 |
+
"matcher_bbox_cost": 5,
|
56 |
+
"matcher_class_cost": 2,
|
57 |
+
"matcher_gamma": 2.0,
|
58 |
+
"matcher_giou_cost": 2,
|
59 |
"model_type": "rt_detr",
|
60 |
"num_classes": 80,
|
61 |
"num_decoder_layers": 6,
|
|
|
70 |
"position_embed_type": "sine",
|
71 |
"pretrained": true,
|
72 |
"return_idx": [
|
|
|
73 |
1,
|
74 |
2,
|
75 |
3
|
76 |
],
|
77 |
+
"torch_dtype": "float32",
|
78 |
"transformers_version": "4.35.0.dev0",
|
79 |
"use_encoder_idx": [
|
80 |
2
|
81 |
],
|
82 |
+
"use_focal_loss": true,
|
83 |
+
"variant": "d",
|
84 |
+
"weight_loss_bbox": 5,
|
85 |
+
"weight_loss_giou": 2,
|
86 |
+
"weight_loss_vfl": 1
|
87 |
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb36532d579033ddb231c9d884a86477ce1574005c35d2976a48de3ddb36641b
|
3 |
+
size 172334605
|