Upload ConditionalDetrForObjectDetection
Browse files- config.json +102 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "pretrain/checkpoint-14500",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"ConditionalDetrForObjectDetection"
|
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": 2,
|
15 |
+
"cls_loss_coefficient": 2,
|
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 |
+
"focal_alpha": 0.25,
|
29 |
+
"giou_cost": 2,
|
30 |
+
"giou_loss_coefficient": 2,
|
31 |
+
"id2label": {
|
32 |
+
"0": "no-object",
|
33 |
+
"1": "Kellogg's Corn Flakes",
|
34 |
+
"2": "Honey Stars",
|
35 |
+
"3": "Koko Krunch",
|
36 |
+
"4": "Fita",
|
37 |
+
"5": "Mamon",
|
38 |
+
"6": "Buttercake",
|
39 |
+
"7": "Wafer",
|
40 |
+
"8": "Choco Crunchies",
|
41 |
+
"9": "iHop",
|
42 |
+
"10": "Butterlicious",
|
43 |
+
"11": "Pik-nik",
|
44 |
+
"12": "Pringles",
|
45 |
+
"13": "Super Fruits",
|
46 |
+
"14": "Locally Mango",
|
47 |
+
"15": "Camomille",
|
48 |
+
"16": "Oishi Prawn",
|
49 |
+
"17": "Kimchi Noodles",
|
50 |
+
"18": "Grahams",
|
51 |
+
"19": "Hansel",
|
52 |
+
"20": "Danisa",
|
53 |
+
"21": "Chocolate Chips",
|
54 |
+
"22": "Fresh Milk",
|
55 |
+
"23": "Bear brand",
|
56 |
+
"24": "Chuckie",
|
57 |
+
"25": "Head"
|
58 |
+
},
|
59 |
+
"init_std": 0.02,
|
60 |
+
"init_xavier_std": 1.0,
|
61 |
+
"is_encoder_decoder": true,
|
62 |
+
"label2id": {
|
63 |
+
"Bear brand": "23",
|
64 |
+
"Buttercake": "6",
|
65 |
+
"Butterlicious": "10",
|
66 |
+
"Camomille": "15",
|
67 |
+
"Choco Crunchies": "8",
|
68 |
+
"Chocolate Chips": "21",
|
69 |
+
"Chuckie": "24",
|
70 |
+
"Danisa": "20",
|
71 |
+
"Fita": "4",
|
72 |
+
"Fresh Milk": "22",
|
73 |
+
"Grahams": "18",
|
74 |
+
"Hansel": "19",
|
75 |
+
"Head": "25",
|
76 |
+
"Honey Stars": "2",
|
77 |
+
"Kellogg's Corn Flakes": "1",
|
78 |
+
"Kimchi Noodles": "17",
|
79 |
+
"Koko Krunch": "3",
|
80 |
+
"Locally Mango": "14",
|
81 |
+
"Mamon": "5",
|
82 |
+
"Oishi Prawn": "16",
|
83 |
+
"Pik-nik": "11",
|
84 |
+
"Pringles": "12",
|
85 |
+
"Super Fruits": "13",
|
86 |
+
"Wafer": "7",
|
87 |
+
"iHop": "9",
|
88 |
+
"no-object": "0"
|
89 |
+
},
|
90 |
+
"mask_loss_coefficient": 1,
|
91 |
+
"max_position_embeddings": 1024,
|
92 |
+
"model_type": "conditional_detr",
|
93 |
+
"num_channels": 3,
|
94 |
+
"num_hidden_layers": 6,
|
95 |
+
"num_queries": 300,
|
96 |
+
"position_embedding_type": "sine",
|
97 |
+
"scale_embedding": false,
|
98 |
+
"torch_dtype": "float32",
|
99 |
+
"transformers_version": "4.28.0",
|
100 |
+
"use_pretrained_backbone": true,
|
101 |
+
"use_timm_backbone": true
|
102 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:64fe4582b769ca897b351315d140b30ec92a64c62519df1b26d56cda36dd4aae
|
3 |
+
size 174227914
|