Poonam2110 commited on
Commit
60770dd
·
verified ·
1 Parent(s): 0febecd

Upload DetrForObjectDetection

Browse files
Files changed (2) hide show
  1. config.json +157 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/detr-resnet-50",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "relu",
5
+ "architectures": [
6
+ "DetrForObjectDetection"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "auxiliary_loss": false,
10
+ "backbone": null,
11
+ "backbone_config": {
12
+ "_attn_implementation_autoset": false,
13
+ "_name_or_path": "",
14
+ "add_cross_attention": false,
15
+ "architectures": null,
16
+ "bad_words_ids": null,
17
+ "begin_suppress_tokens": null,
18
+ "bos_token_id": null,
19
+ "chunk_size_feed_forward": 0,
20
+ "cross_attention_hidden_size": null,
21
+ "decoder_start_token_id": null,
22
+ "depths": [
23
+ 3,
24
+ 4,
25
+ 6,
26
+ 3
27
+ ],
28
+ "diversity_penalty": 0.0,
29
+ "do_sample": false,
30
+ "downsample_in_bottleneck": false,
31
+ "downsample_in_first_stage": false,
32
+ "early_stopping": false,
33
+ "embedding_size": 64,
34
+ "encoder_no_repeat_ngram_size": 0,
35
+ "eos_token_id": null,
36
+ "exponential_decay_length_penalty": null,
37
+ "finetuning_task": null,
38
+ "forced_bos_token_id": null,
39
+ "forced_eos_token_id": null,
40
+ "hidden_act": "relu",
41
+ "hidden_sizes": [
42
+ 256,
43
+ 512,
44
+ 1024,
45
+ 2048
46
+ ],
47
+ "id2label": {
48
+ "0": "LABEL_0",
49
+ "1": "LABEL_1"
50
+ },
51
+ "is_decoder": false,
52
+ "is_encoder_decoder": false,
53
+ "label2id": {
54
+ "LABEL_0": 0,
55
+ "LABEL_1": 1
56
+ },
57
+ "layer_type": "bottleneck",
58
+ "length_penalty": 1.0,
59
+ "max_length": 20,
60
+ "min_length": 0,
61
+ "model_type": "resnet",
62
+ "no_repeat_ngram_size": 0,
63
+ "num_beam_groups": 1,
64
+ "num_beams": 1,
65
+ "num_channels": 3,
66
+ "num_return_sequences": 1,
67
+ "out_features": [
68
+ "stage4"
69
+ ],
70
+ "out_indices": [
71
+ 4
72
+ ],
73
+ "output_attentions": false,
74
+ "output_hidden_states": false,
75
+ "output_scores": false,
76
+ "pad_token_id": null,
77
+ "prefix": null,
78
+ "problem_type": null,
79
+ "pruned_heads": {},
80
+ "remove_invalid_values": false,
81
+ "repetition_penalty": 1.0,
82
+ "return_dict": true,
83
+ "return_dict_in_generate": false,
84
+ "sep_token_id": null,
85
+ "stage_names": [
86
+ "stem",
87
+ "stage1",
88
+ "stage2",
89
+ "stage3",
90
+ "stage4"
91
+ ],
92
+ "suppress_tokens": null,
93
+ "task_specific_params": null,
94
+ "temperature": 1.0,
95
+ "tf_legacy_loss": false,
96
+ "tie_encoder_decoder": false,
97
+ "tie_word_embeddings": true,
98
+ "tokenizer_class": null,
99
+ "top_k": 50,
100
+ "top_p": 1.0,
101
+ "torch_dtype": null,
102
+ "torchscript": false,
103
+ "typical_p": 1.0,
104
+ "use_bfloat16": false
105
+ },
106
+ "backbone_kwargs": null,
107
+ "bbox_cost": 5,
108
+ "bbox_loss_coefficient": 5,
109
+ "class_cost": 1,
110
+ "d_model": 256,
111
+ "decoder_attention_heads": 8,
112
+ "decoder_ffn_dim": 2048,
113
+ "decoder_layerdrop": 0.0,
114
+ "decoder_layers": 6,
115
+ "dice_loss_coefficient": 1,
116
+ "dilation": null,
117
+ "dropout": 0.1,
118
+ "encoder_attention_heads": 8,
119
+ "encoder_ffn_dim": 2048,
120
+ "encoder_layerdrop": 0.0,
121
+ "encoder_layers": 6,
122
+ "eos_coefficient": 0.1,
123
+ "giou_cost": 2,
124
+ "giou_loss_coefficient": 2,
125
+ "id2label": {
126
+ "0": "LABEL_0",
127
+ "1": "LABEL_1",
128
+ "2": "LABEL_2",
129
+ "3": "LABEL_3",
130
+ "4": "LABEL_4",
131
+ "5": "LABEL_5",
132
+ "6": "LABEL_6"
133
+ },
134
+ "init_std": 0.02,
135
+ "init_xavier_std": 1.0,
136
+ "is_encoder_decoder": true,
137
+ "label2id": {
138
+ "LABEL_0": 0,
139
+ "LABEL_1": 1,
140
+ "LABEL_2": 2,
141
+ "LABEL_3": 3,
142
+ "LABEL_4": 4,
143
+ "LABEL_5": 5,
144
+ "LABEL_6": 6
145
+ },
146
+ "mask_loss_coefficient": 1,
147
+ "model_type": "detr",
148
+ "num_channels": 3,
149
+ "num_hidden_layers": 6,
150
+ "num_queries": 100,
151
+ "position_embedding_type": "sine",
152
+ "scale_embedding": false,
153
+ "torch_dtype": "float32",
154
+ "transformers_version": "4.46.2",
155
+ "use_pretrained_backbone": null,
156
+ "use_timm_backbone": false
157
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c968e82583745e5d909df4032320f91d94b05954d548bcf1cdb480b3a7f81115
3
+ size 166509896