Garon16 commited on
Commit
9d7cce7
·
verified ·
1 Parent(s): 3a4fc1f

Upload RTDetrForObjectDetection

Browse files
Files changed (2) hide show
  1. config.json +101 -101
  2. model.safetensors +1 -1
config.json CHANGED
@@ -1,101 +1,101 @@
1
- {
2
- "_name_or_path": "PekingU/rtdetr_r50vd_coco_o365",
3
- "activation_dropout": 0.0,
4
- "activation_function": "silu",
5
- "anchor_image_size": null,
6
- "architectures": [
7
- "RTDetrForObjectDetection"
8
- ],
9
- "attention_dropout": 0.0,
10
- "auxiliary_loss": true,
11
- "backbone": null,
12
- "backbone_config": {
13
- "model_type": "rt_detr_resnet",
14
- "out_features": [
15
- "stage2",
16
- "stage3",
17
- "stage4"
18
- ],
19
- "out_indices": [
20
- 2,
21
- 3,
22
- 4
23
- ]
24
- },
25
- "backbone_kwargs": null,
26
- "batch_norm_eps": 1e-05,
27
- "box_noise_scale": 1.0,
28
- "d_model": 256,
29
- "decoder_activation_function": "relu",
30
- "decoder_attention_heads": 8,
31
- "decoder_ffn_dim": 1024,
32
- "decoder_in_channels": [
33
- 256,
34
- 256,
35
- 256
36
- ],
37
- "decoder_layers": 6,
38
- "decoder_n_points": 4,
39
- "disable_custom_kernels": true,
40
- "dropout": 0.0,
41
- "encode_proj_layers": [
42
- 2
43
- ],
44
- "encoder_activation_function": "gelu",
45
- "encoder_attention_heads": 8,
46
- "encoder_ffn_dim": 1024,
47
- "encoder_hidden_dim": 256,
48
- "encoder_in_channels": [
49
- 512,
50
- 1024,
51
- 2048
52
- ],
53
- "encoder_layers": 1,
54
- "eos_coefficient": 0.0001,
55
- "eval_size": null,
56
- "feat_strides": [
57
- 8,
58
- 16,
59
- 32
60
- ],
61
- "focal_loss_alpha": 0.75,
62
- "focal_loss_gamma": 2.0,
63
- "freeze_backbone_batch_norms": true,
64
- "hidden_expansion": 1.0,
65
- "id2label": {
66
- "0": "car-plates-and-these-types",
67
- "1": "n_p",
68
- "2": "p_p"
69
- },
70
- "initializer_bias_prior_prob": null,
71
- "initializer_range": 0.01,
72
- "is_encoder_decoder": true,
73
- "label2id": {
74
- "car-plates-and-these-types": 0,
75
- "n_p": 1,
76
- "p_p": 2
77
- },
78
- "label_noise_ratio": 0.5,
79
- "layer_norm_eps": 1e-05,
80
- "learn_initial_query": false,
81
- "matcher_alpha": 0.25,
82
- "matcher_bbox_cost": 5.0,
83
- "matcher_class_cost": 2.0,
84
- "matcher_gamma": 2.0,
85
- "matcher_giou_cost": 2.0,
86
- "model_type": "rt_detr",
87
- "normalize_before": false,
88
- "num_denoising": 100,
89
- "num_feature_levels": 3,
90
- "num_queries": 300,
91
- "positional_encoding_temperature": 10000,
92
- "torch_dtype": "float32",
93
- "transformers_version": "4.47.0.dev0",
94
- "use_focal_loss": true,
95
- "use_pretrained_backbone": false,
96
- "use_timm_backbone": false,
97
- "weight_loss_bbox": 5.0,
98
- "weight_loss_giou": 2.0,
99
- "weight_loss_vfl": 1.0,
100
- "with_box_refine": true
101
- }
 
1
+ {
2
+ "_name_or_path": "PekingU/rtdetr_r50vd_coco_o365",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "silu",
5
+ "anchor_image_size": null,
6
+ "architectures": [
7
+ "RTDetrForObjectDetection"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "auxiliary_loss": true,
11
+ "backbone": null,
12
+ "backbone_config": {
13
+ "model_type": "rt_detr_resnet",
14
+ "out_features": [
15
+ "stage2",
16
+ "stage3",
17
+ "stage4"
18
+ ],
19
+ "out_indices": [
20
+ 2,
21
+ 3,
22
+ 4
23
+ ]
24
+ },
25
+ "backbone_kwargs": null,
26
+ "batch_norm_eps": 1e-05,
27
+ "box_noise_scale": 1.0,
28
+ "d_model": 256,
29
+ "decoder_activation_function": "relu",
30
+ "decoder_attention_heads": 8,
31
+ "decoder_ffn_dim": 1024,
32
+ "decoder_in_channels": [
33
+ 256,
34
+ 256,
35
+ 256
36
+ ],
37
+ "decoder_layers": 6,
38
+ "decoder_n_points": 4,
39
+ "disable_custom_kernels": true,
40
+ "dropout": 0.0,
41
+ "encode_proj_layers": [
42
+ 2
43
+ ],
44
+ "encoder_activation_function": "gelu",
45
+ "encoder_attention_heads": 8,
46
+ "encoder_ffn_dim": 1024,
47
+ "encoder_hidden_dim": 256,
48
+ "encoder_in_channels": [
49
+ 512,
50
+ 1024,
51
+ 2048
52
+ ],
53
+ "encoder_layers": 1,
54
+ "eos_coefficient": 0.0001,
55
+ "eval_size": null,
56
+ "feat_strides": [
57
+ 8,
58
+ 16,
59
+ 32
60
+ ],
61
+ "focal_loss_alpha": 0.75,
62
+ "focal_loss_gamma": 2.0,
63
+ "freeze_backbone_batch_norms": true,
64
+ "hidden_expansion": 1.0,
65
+ "id2label": {
66
+ "0": "car-plates-and-these-types",
67
+ "1": "n_p",
68
+ "2": "p_p"
69
+ },
70
+ "initializer_bias_prior_prob": null,
71
+ "initializer_range": 0.01,
72
+ "is_encoder_decoder": true,
73
+ "label2id": {
74
+ "car-plates-and-these-types": 0,
75
+ "n_p": 1,
76
+ "p_p": 2
77
+ },
78
+ "label_noise_ratio": 0.5,
79
+ "layer_norm_eps": 1e-05,
80
+ "learn_initial_query": false,
81
+ "matcher_alpha": 0.25,
82
+ "matcher_bbox_cost": 5.0,
83
+ "matcher_class_cost": 2.0,
84
+ "matcher_gamma": 2.0,
85
+ "matcher_giou_cost": 2.0,
86
+ "model_type": "rt_detr",
87
+ "normalize_before": false,
88
+ "num_denoising": 100,
89
+ "num_feature_levels": 3,
90
+ "num_queries": 300,
91
+ "positional_encoding_temperature": 10000,
92
+ "torch_dtype": "float32",
93
+ "transformers_version": "4.45.1",
94
+ "use_focal_loss": true,
95
+ "use_pretrained_backbone": false,
96
+ "use_timm_backbone": false,
97
+ "weight_loss_bbox": 5.0,
98
+ "weight_loss_giou": 2.0,
99
+ "weight_loss_vfl": 1.0,
100
+ "with_box_refine": true
101
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c2d5724118d2decfd6c3325bc2cf99f8ce7e1363f09701a1124c1c93883bc115
3
  size 171542900
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fb29600e8e3bb15c1928f35452579850239e92571afe1145f2ac8c4c7737987
3
  size 171542900