Upload DetrForObjectDetection
Browse files- config.json +56 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "resnet50",
|
11 |
+
"backbone_config": null,
|
12 |
+
"bbox_cost": 5,
|
13 |
+
"bbox_loss_coefficient": 5,
|
14 |
+
"class_cost": 1,
|
15 |
+
"classifier_dropout": 0.0,
|
16 |
+
"d_model": 256,
|
17 |
+
"decoder_attention_heads": 8,
|
18 |
+
"decoder_ffn_dim": 2048,
|
19 |
+
"decoder_layerdrop": 0.0,
|
20 |
+
"decoder_layers": 6,
|
21 |
+
"dice_loss_coefficient": 1,
|
22 |
+
"dilation": false,
|
23 |
+
"dropout": 0.1,
|
24 |
+
"encoder_attention_heads": 8,
|
25 |
+
"encoder_ffn_dim": 2048,
|
26 |
+
"encoder_layerdrop": 0.0,
|
27 |
+
"encoder_layers": 6,
|
28 |
+
"eos_coefficient": 0.1,
|
29 |
+
"giou_cost": 2,
|
30 |
+
"giou_loss_coefficient": 2,
|
31 |
+
"id2label": {
|
32 |
+
"0": "LABEL_0",
|
33 |
+
"1": "LABEL_1",
|
34 |
+
"2": "LABEL_2"
|
35 |
+
},
|
36 |
+
"init_std": 0.02,
|
37 |
+
"init_xavier_std": 1.0,
|
38 |
+
"is_encoder_decoder": true,
|
39 |
+
"label2id": {
|
40 |
+
"LABEL_0": 0,
|
41 |
+
"LABEL_1": 1,
|
42 |
+
"LABEL_2": 2
|
43 |
+
},
|
44 |
+
"mask_loss_coefficient": 1,
|
45 |
+
"max_position_embeddings": 1024,
|
46 |
+
"model_type": "detr",
|
47 |
+
"num_channels": 3,
|
48 |
+
"num_hidden_layers": 6,
|
49 |
+
"num_queries": 100,
|
50 |
+
"position_embedding_type": "sine",
|
51 |
+
"scale_embedding": false,
|
52 |
+
"torch_dtype": "float32",
|
53 |
+
"transformers_version": "4.35.0",
|
54 |
+
"use_pretrained_backbone": true,
|
55 |
+
"use_timm_backbone": true
|
56 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5e160c32e67ed840a0f2c6ecec04310ba80a6df0f0282102bc6f299d848514c7
|
3 |
+
size 166496880
|