hyunwoo3235 commited on
Commit
d61cc0a
1 Parent(s): 4a1767d

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +106 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +26 -0
config.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "silu",
4
+ "anchor_image_size": null,
5
+ "architectures": [
6
+ "RTDetrForObjectDetection"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "auxiliary_loss": true,
10
+ "backbone": null,
11
+ "backbone_config": {
12
+ "model_type": "rt_detr_resnet",
13
+ "out_features": [
14
+ "stage2",
15
+ "stage3",
16
+ "stage4"
17
+ ],
18
+ "out_indices": [
19
+ 2,
20
+ 3,
21
+ 4
22
+ ]
23
+ },
24
+ "backbone_kwargs": null,
25
+ "batch_norm_eps": 1e-05,
26
+ "box_noise_scale": 1.0,
27
+ "d_model": 256,
28
+ "decoder_activation_function": "relu",
29
+ "decoder_attention_heads": 8,
30
+ "decoder_ffn_dim": 1024,
31
+ "decoder_in_channels": [
32
+ 256,
33
+ 256,
34
+ 256
35
+ ],
36
+ "decoder_layers": 6,
37
+ "decoder_n_points": 4,
38
+ "disable_custom_kernels": true,
39
+ "dropout": 0.0,
40
+ "encode_proj_layers": [
41
+ 2
42
+ ],
43
+ "encoder_activation_function": "gelu",
44
+ "encoder_attention_heads": 8,
45
+ "encoder_ffn_dim": 1024,
46
+ "encoder_hidden_dim": 256,
47
+ "encoder_in_channels": [
48
+ 512,
49
+ 1024,
50
+ 2048
51
+ ],
52
+ "encoder_layers": 1,
53
+ "eos_coefficient": 0.0001,
54
+ "eval_size": null,
55
+ "feat_strides": [
56
+ 8,
57
+ 16,
58
+ 32
59
+ ],
60
+ "focal_loss_alpha": 0.75,
61
+ "focal_loss_gamma": 2.0,
62
+ "hidden_expansion": 1.0,
63
+ "id2label": {
64
+ "0": "BalloonText",
65
+ "1": "NarrationText",
66
+ "2": "SoundEffect",
67
+ "3": "SceneText",
68
+ "4": "TitleText",
69
+ "5": "OtherText",
70
+ "6": "ExtraTest"
71
+ },
72
+ "initializer_bias_prior_prob": null,
73
+ "initializer_range": 0.01,
74
+ "is_encoder_decoder": true,
75
+ "label2id": {
76
+ "BalloonText": 0,
77
+ "NarrationText": 1,
78
+ "SoundEffect": 2,
79
+ "SceneText": 3,
80
+ "TitleText": 4,
81
+ "OtherText": 5,
82
+ "ExtraTest": 6
83
+ },
84
+ "label_noise_ratio": 0.5,
85
+ "layer_norm_eps": 1e-05,
86
+ "learn_initial_query": false,
87
+ "matcher_alpha": 0.25,
88
+ "matcher_bbox_cost": 5.0,
89
+ "matcher_class_cost": 2.0,
90
+ "matcher_gamma": 2.0,
91
+ "matcher_giou_cost": 2.0,
92
+ "model_type": "rt_detr",
93
+ "normalize_before": false,
94
+ "num_denoising": 100,
95
+ "num_feature_levels": 3,
96
+ "num_queries": 300,
97
+ "positional_encoding_temperature": 10000,
98
+ "torch_dtype": "float32",
99
+ "use_focal_loss": true,
100
+ "use_pretrained_backbone": false,
101
+ "use_timm_backbone": false,
102
+ "weight_loss_bbox": 5.0,
103
+ "weight_loss_giou": 2.0,
104
+ "weight_loss_vfl": 1.0,
105
+ "with_box_refine": true
106
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f66706de06e65a21d27e3aae77bb0e1cafc0fba9c86b841dbe8d1cff50b85183
3
+ size 85836186
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_annotations": true,
3
+ "do_normalize": false,
4
+ "do_pad": false,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "format": "coco_detection",
8
+ "image_mean": [
9
+ 0.485,
10
+ 0.456,
11
+ 0.406
12
+ ],
13
+ "image_processor_type": "RTDetrImageProcessor",
14
+ "image_std": [
15
+ 0.229,
16
+ 0.224,
17
+ 0.225
18
+ ],
19
+ "pad_size": null,
20
+ "resample": 2,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "height": 640,
24
+ "width": 640
25
+ }
26
+ }