rafaelpadilla
commited on
Commit
•
a8cc56d
1
Parent(s):
73dc06c
Add model
Browse files- config.json +14 -20
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,19 +1,12 @@
|
|
1 |
{
|
2 |
"act_decoder": "relu",
|
3 |
"act_encoder": "silu",
|
4 |
-
"act_presnet": "relu",
|
5 |
"architectures": [
|
6 |
-
"
|
7 |
],
|
8 |
"aux_loss": true,
|
9 |
-
"
|
10 |
-
3,
|
11 |
-
4,
|
12 |
-
6,
|
13 |
-
3
|
14 |
-
],
|
15 |
"box_noise_scale": 1.0,
|
16 |
-
"depth": 50,
|
17 |
"depth_mult": 1.0,
|
18 |
"dim_feedforward": 1024,
|
19 |
"dropout": 0.0,
|
@@ -40,7 +33,7 @@
|
|
40 |
"focal_loss_alpha": 0.75,
|
41 |
"focal_loss_gamma": 2.0,
|
42 |
"freeze_at": 0,
|
43 |
-
"
|
44 |
"hidden_dim": 256,
|
45 |
"in_channels": [
|
46 |
512,
|
@@ -48,14 +41,13 @@
|
|
48 |
2048
|
49 |
],
|
50 |
"initializer_range": 0.02,
|
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,
|
@@ -65,10 +57,13 @@
|
|
65 |
"num_head": 8,
|
66 |
"num_levels": 3,
|
67 |
"num_queries": 300,
|
68 |
-
"
|
|
|
|
|
|
|
|
|
69 |
"pe_temperature": 10000,
|
70 |
"position_embed_type": "sine",
|
71 |
-
"pretrained": true,
|
72 |
"return_idx": [
|
73 |
1,
|
74 |
2,
|
@@ -80,8 +75,7 @@
|
|
80 |
2
|
81 |
],
|
82 |
"use_focal_loss": true,
|
83 |
-
"
|
84 |
-
"
|
85 |
-
"
|
86 |
-
"weight_loss_vfl": 1
|
87 |
}
|
|
|
1 |
{
|
2 |
"act_decoder": "relu",
|
3 |
"act_encoder": "silu",
|
|
|
4 |
"architectures": [
|
5 |
+
"RTDetrModel"
|
6 |
],
|
7 |
"aux_loss": true,
|
8 |
+
"backbone": "resnet50d",
|
|
|
|
|
|
|
|
|
|
|
9 |
"box_noise_scale": 1.0,
|
|
|
10 |
"depth_mult": 1.0,
|
11 |
"dim_feedforward": 1024,
|
12 |
"dropout": 0.0,
|
|
|
33 |
"focal_loss_alpha": 0.75,
|
34 |
"focal_loss_gamma": 2.0,
|
35 |
"freeze_at": 0,
|
36 |
+
"freeze_batch_norm_2d": true,
|
37 |
"hidden_dim": 256,
|
38 |
"in_channels": [
|
39 |
512,
|
|
|
41 |
2048
|
42 |
],
|
43 |
"initializer_range": 0.02,
|
|
|
44 |
"label_noise_ratio": 0.5,
|
45 |
"learnt_init_query": false,
|
46 |
"matcher_alpha": 0.25,
|
47 |
+
"matcher_bbox_cost": 5.0,
|
48 |
+
"matcher_class_cost": 2.0,
|
49 |
"matcher_gamma": 2.0,
|
50 |
+
"matcher_giou_cost": 2.0,
|
51 |
"model_type": "rt_detr",
|
52 |
"num_classes": 80,
|
53 |
"num_decoder_layers": 6,
|
|
|
57 |
"num_head": 8,
|
58 |
"num_levels": 3,
|
59 |
"num_queries": 300,
|
60 |
+
"out_indices": [
|
61 |
+
2,
|
62 |
+
3,
|
63 |
+
4
|
64 |
+
],
|
65 |
"pe_temperature": 10000,
|
66 |
"position_embed_type": "sine",
|
|
|
67 |
"return_idx": [
|
68 |
1,
|
69 |
2,
|
|
|
75 |
2
|
76 |
],
|
77 |
"use_focal_loss": true,
|
78 |
+
"weight_loss_bbox": 5.0,
|
79 |
+
"weight_loss_giou": 2.0,
|
80 |
+
"weight_loss_vfl": 1.0
|
|
|
81 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9cb35e2d81385cfdfa7f25a6d393c2da0cc67f44d158829943f3dc8a128ce2cf
|
3 |
+
size 172345001
|