gargeya2003 commited on
Commit
af47359
1 Parent(s): 678e5d9

Upload DetrForObjectDetection

Browse files
Files changed (2) hide show
  1. config.json +67 -68
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,68 +1,67 @@
1
- {
2
- "activation_dropout": 0.0,
3
- "activation_function": "relu",
4
- "architectures": [
5
- "DetrForObjectDetection"
6
- ],
7
- "attention_dropout": 0.0,
8
- "auxiliary_loss": true,
9
- "backbone": "resnet50",
10
- "backbone_config": null,
11
- "backbone_kwargs": {
12
- "in_chans": 3,
13
- "out_indices": [
14
- 1,
15
- 2,
16
- 3,
17
- 4
18
- ]
19
- },
20
- "bbox_cost": 5,
21
- "bbox_loss_coefficient": 5,
22
- "class_cost": 1,
23
- "d_model": 256,
24
- "decoder_attention_heads": 8,
25
- "decoder_ffn_dim": 2048,
26
- "decoder_layerdrop": 0.0,
27
- "decoder_layers": 6,
28
- "dice_loss_coefficient": 1,
29
- "dilation": false,
30
- "dropout": 0.1,
31
- "encoder_attention_heads": 8,
32
- "encoder_ffn_dim": 2048,
33
- "encoder_layerdrop": 0.0,
34
- "encoder_layers": 6,
35
- "eos_coefficient": 0.1,
36
- "giou_cost": 2,
37
- "giou_loss_coefficient": 2,
38
- "id2label": {
39
- "0": "LABEL_0",
40
- "1": "LABEL_1",
41
- "2": "LABEL_2",
42
- "3": "LABEL_3",
43
- "4": "LABEL_4",
44
- "5": "LABEL_5"
45
- },
46
- "ignore_mismatched_sizes": true,
47
- "init_std": 0.02,
48
- "init_xavier_std": 1.0,
49
- "is_encoder_decoder": true,
50
- "label2id": {
51
- "LABEL_0": 0,
52
- "LABEL_1": 1,
53
- "LABEL_2": 2,
54
- "LABEL_3": 3,
55
- "LABEL_4": 4,
56
- "LABEL_5": 5
57
- },
58
- "mask_loss_coefficient": 1,
59
- "model_type": "detr",
60
- "num_channels": 3,
61
- "num_hidden_layers": 6,
62
- "num_queries": 100,
63
- "position_embedding_type": "sine",
64
- "torch_dtype": "float32",
65
- "transformers_version": "4.44.1",
66
- "use_pretrained_backbone": false,
67
- "use_timm_backbone": true
68
- }
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "relu",
4
+ "architectures": [
5
+ "DetrForObjectDetection"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "auxiliary_loss": false,
9
+ "backbone": "resnet50",
10
+ "backbone_config": null,
11
+ "backbone_kwargs": {
12
+ "in_chans": 3,
13
+ "out_indices": [
14
+ 1,
15
+ 2,
16
+ 3,
17
+ 4
18
+ ]
19
+ },
20
+ "bbox_cost": 5,
21
+ "bbox_loss_coefficient": 5,
22
+ "class_cost": 1,
23
+ "d_model": 256,
24
+ "decoder_attention_heads": 8,
25
+ "decoder_ffn_dim": 2048,
26
+ "decoder_layerdrop": 0.0,
27
+ "decoder_layers": 6,
28
+ "dice_loss_coefficient": 1,
29
+ "dilation": false,
30
+ "dropout": 0.1,
31
+ "encoder_attention_heads": 8,
32
+ "encoder_ffn_dim": 2048,
33
+ "encoder_layerdrop": 0.0,
34
+ "encoder_layers": 6,
35
+ "eos_coefficient": 0.1,
36
+ "giou_cost": 2,
37
+ "giou_loss_coefficient": 2,
38
+ "id2label": {
39
+ "0": "LABEL_0",
40
+ "1": "LABEL_1",
41
+ "2": "LABEL_2",
42
+ "3": "LABEL_3",
43
+ "4": "LABEL_4",
44
+ "5": "LABEL_5"
45
+ },
46
+ "init_std": 0.02,
47
+ "init_xavier_std": 1.0,
48
+ "is_encoder_decoder": true,
49
+ "label2id": {
50
+ "LABEL_0": 0,
51
+ "LABEL_1": 1,
52
+ "LABEL_2": 2,
53
+ "LABEL_3": 3,
54
+ "LABEL_4": 4,
55
+ "LABEL_5": 5
56
+ },
57
+ "mask_loss_coefficient": 1,
58
+ "model_type": "detr",
59
+ "num_channels": 3,
60
+ "num_hidden_layers": 6,
61
+ "num_queries": 100,
62
+ "position_embedding_type": "sine",
63
+ "torch_dtype": "float32",
64
+ "transformers_version": "4.45.2",
65
+ "use_pretrained_backbone": true,
66
+ "use_timm_backbone": true
67
+ }
 
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f5e9e6b36841267aba703db3eb0a115bdc83694e018f20bfbcebb63de35428b3
3
- size 147882886
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54b48c95ecca47d0ddb396f65b6c8065bad11e8d41c09e2aa34e15cc53f09960
3
+ size 166612818