MG31 commited on
Commit
00dedac
·
verified ·
1 Parent(s): da6901a

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +180 -0
  2. preprocessor_config.json +45 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/deformable-detr-detic",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "relu",
5
+ "architectures": [
6
+ "DeformableDetrForObjectDetection"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "auxiliary_loss": false,
10
+ "backbone": null,
11
+ "backbone_config": {
12
+ "_name_or_path": "",
13
+ "add_cross_attention": false,
14
+ "architectures": null,
15
+ "bad_words_ids": null,
16
+ "begin_suppress_tokens": null,
17
+ "bos_token_id": null,
18
+ "chunk_size_feed_forward": 0,
19
+ "cross_attention_hidden_size": null,
20
+ "decoder_start_token_id": null,
21
+ "depths": [
22
+ 3,
23
+ 4,
24
+ 6,
25
+ 3
26
+ ],
27
+ "diversity_penalty": 0.0,
28
+ "do_sample": false,
29
+ "downsample_in_bottleneck": false,
30
+ "downsample_in_first_stage": false,
31
+ "early_stopping": false,
32
+ "embedding_size": 64,
33
+ "encoder_no_repeat_ngram_size": 0,
34
+ "eos_token_id": null,
35
+ "exponential_decay_length_penalty": null,
36
+ "finetuning_task": null,
37
+ "forced_bos_token_id": null,
38
+ "forced_eos_token_id": null,
39
+ "hidden_act": "relu",
40
+ "hidden_sizes": [
41
+ 256,
42
+ 512,
43
+ 1024,
44
+ 2048
45
+ ],
46
+ "id2label": {
47
+ "0": "LABEL_0",
48
+ "1": "LABEL_1"
49
+ },
50
+ "is_decoder": false,
51
+ "is_encoder_decoder": false,
52
+ "label2id": {
53
+ "LABEL_0": 0,
54
+ "LABEL_1": 1
55
+ },
56
+ "layer_type": "bottleneck",
57
+ "length_penalty": 1.0,
58
+ "max_length": 20,
59
+ "min_length": 0,
60
+ "model_type": "resnet",
61
+ "no_repeat_ngram_size": 0,
62
+ "num_beam_groups": 1,
63
+ "num_beams": 1,
64
+ "num_channels": 3,
65
+ "num_return_sequences": 1,
66
+ "out_features": [
67
+ "stage2",
68
+ "stage3",
69
+ "stage4"
70
+ ],
71
+ "out_indices": [
72
+ 2,
73
+ 3,
74
+ 4
75
+ ],
76
+ "output_attentions": false,
77
+ "output_hidden_states": false,
78
+ "output_scores": false,
79
+ "pad_token_id": null,
80
+ "prefix": null,
81
+ "problem_type": null,
82
+ "pruned_heads": {},
83
+ "remove_invalid_values": false,
84
+ "repetition_penalty": 1.0,
85
+ "return_dict": true,
86
+ "return_dict_in_generate": false,
87
+ "sep_token_id": null,
88
+ "stage_names": [
89
+ "stem",
90
+ "stage1",
91
+ "stage2",
92
+ "stage3",
93
+ "stage4"
94
+ ],
95
+ "suppress_tokens": null,
96
+ "task_specific_params": null,
97
+ "temperature": 1.0,
98
+ "tf_legacy_loss": false,
99
+ "tie_encoder_decoder": false,
100
+ "tie_word_embeddings": true,
101
+ "tokenizer_class": null,
102
+ "top_k": 50,
103
+ "top_p": 1.0,
104
+ "torch_dtype": null,
105
+ "torchscript": false,
106
+ "typical_p": 1.0,
107
+ "use_bfloat16": false
108
+ },
109
+ "backbone_kwargs": null,
110
+ "bbox_cost": 5,
111
+ "bbox_loss_coefficient": 5,
112
+ "class_cost": 1,
113
+ "d_model": 256,
114
+ "decoder_attention_heads": 8,
115
+ "decoder_ffn_dim": 1024,
116
+ "decoder_layers": 6,
117
+ "decoder_n_points": 4,
118
+ "dice_loss_coefficient": 1,
119
+ "dilation": null,
120
+ "disable_custom_kernels": false,
121
+ "dropout": 0.1,
122
+ "encoder_attention_heads": 8,
123
+ "encoder_ffn_dim": 1024,
124
+ "encoder_layerdrop": 0.0,
125
+ "encoder_layers": 6,
126
+ "encoder_n_points": 4,
127
+ "eos_coefficient": 0.1,
128
+ "focal_alpha": 0.25,
129
+ "giou_cost": 2,
130
+ "giou_loss_coefficient": 2,
131
+ "id2label": {
132
+ "0": "Road_No_Parking",
133
+ "1": "Road_Speed_Limit_in_School_Zone",
134
+ "2": "Road_School_Zone",
135
+ "3": "Crosswalk",
136
+ "4": "Road_No_Stopping_or_Parking",
137
+ "5": "Road_No_Stopping_Zone",
138
+ "6": "truck",
139
+ "7": "car",
140
+ "8": "stop",
141
+ "9": "motorcycle",
142
+ "10": "traffic_lane_yellow_solid",
143
+ "11": "school_zone",
144
+ "12": "no_parking",
145
+ "13": "fire_hydrant"
146
+ },
147
+ "init_std": 0.02,
148
+ "init_xavier_std": 1.0,
149
+ "is_encoder_decoder": true,
150
+ "label2id": {
151
+ "LABEL_0": 0,
152
+ "LABEL_1": 1,
153
+ "LABEL_10": 10,
154
+ "LABEL_11": 11,
155
+ "LABEL_12": 12,
156
+ "LABEL_13": 13,
157
+ "LABEL_2": 2,
158
+ "LABEL_3": 3,
159
+ "LABEL_4": 4,
160
+ "LABEL_5": 5,
161
+ "LABEL_6": 6,
162
+ "LABEL_7": 7,
163
+ "LABEL_8": 8,
164
+ "LABEL_9": 9
165
+ },
166
+ "mask_loss_coefficient": 1,
167
+ "max_position_embeddings": 1024,
168
+ "model_type": "deformable_detr",
169
+ "num_channels": 3,
170
+ "num_feature_levels": 4,
171
+ "num_queries": 300,
172
+ "position_embedding_type": "sine",
173
+ "torch_dtype": "float32",
174
+ "transformers_version": "4.41.2",
175
+ "two_stage": true,
176
+ "two_stage_num_proposals": 300,
177
+ "use_pretrained_backbone": null,
178
+ "use_timm_backbone": false,
179
+ "with_box_refine": true
180
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "annotations",
5
+ "return_segmentation_masks",
6
+ "masks_path",
7
+ "do_resize",
8
+ "size",
9
+ "resample",
10
+ "do_rescale",
11
+ "rescale_factor",
12
+ "do_normalize",
13
+ "do_convert_annotations",
14
+ "image_mean",
15
+ "image_std",
16
+ "do_pad",
17
+ "format",
18
+ "return_tensors",
19
+ "data_format",
20
+ "input_data_format"
21
+ ],
22
+ "do_convert_annotations": true,
23
+ "do_normalize": true,
24
+ "do_pad": true,
25
+ "do_rescale": true,
26
+ "do_resize": true,
27
+ "format": "coco_detection",
28
+ "image_mean": [
29
+ 0.485,
30
+ 0.456,
31
+ 0.406
32
+ ],
33
+ "image_processor_type": "DeformableDetrImageProcessor",
34
+ "image_std": [
35
+ 0.229,
36
+ 0.224,
37
+ 0.225
38
+ ],
39
+ "resample": 2,
40
+ "rescale_factor": 0.00392156862745098,
41
+ "size": {
42
+ "longest_edge": 1333,
43
+ "shortest_edge": 800
44
+ }
45
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd3272cd6ad838d93d645e7af3cd926e84a30174c32a111e8fcaa36ef1c0966d
3
+ size 164809698