Someshfengde commited on
Commit
f468ecb
1 Parent(s): e84b787

object_detection

Browse files
Files changed (5) hide show
  1. .gitignore +1 -0
  2. config.json +61 -0
  3. preprocessor_config.json +24 -0
  4. pytorch_model.bin +3 -0
  5. training_args.bin +3 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
1
+ checkpoint-*/
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": "480370a8aeeed9fc8d78837b4e94e5f936fe73f2",
3
+ "_name_or_path": "facebook/detr-resnet-50",
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "relu",
6
+ "architectures": [
7
+ "DetrForObjectDetection"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "auxiliary_loss": false,
11
+ "backbone": "resnet50",
12
+ "backbone_config": null,
13
+ "bbox_cost": 5,
14
+ "bbox_loss_coefficient": 5,
15
+ "class_cost": 1,
16
+ "classifier_dropout": 0.0,
17
+ "d_model": 256,
18
+ "decoder_attention_heads": 8,
19
+ "decoder_ffn_dim": 2048,
20
+ "decoder_layerdrop": 0.0,
21
+ "decoder_layers": 6,
22
+ "dice_loss_coefficient": 1,
23
+ "dilation": false,
24
+ "dropout": 0.1,
25
+ "encoder_attention_heads": 8,
26
+ "encoder_ffn_dim": 2048,
27
+ "encoder_layerdrop": 0.0,
28
+ "encoder_layers": 6,
29
+ "eos_coefficient": 0.1,
30
+ "giou_cost": 2,
31
+ "giou_loss_coefficient": 2,
32
+ "id2label": {
33
+ "0": "Coverall",
34
+ "1": "Face_Shield",
35
+ "2": "Gloves",
36
+ "3": "Goggles",
37
+ "4": "Mask"
38
+ },
39
+ "init_std": 0.02,
40
+ "init_xavier_std": 1.0,
41
+ "is_encoder_decoder": true,
42
+ "label2id": {
43
+ "Coverall": 0,
44
+ "Face_Shield": 1,
45
+ "Gloves": 2,
46
+ "Goggles": 3,
47
+ "Mask": 4
48
+ },
49
+ "mask_loss_coefficient": 1,
50
+ "max_position_embeddings": 1024,
51
+ "model_type": "detr",
52
+ "num_channels": 3,
53
+ "num_hidden_layers": 6,
54
+ "num_queries": 100,
55
+ "position_embedding_type": "sine",
56
+ "scale_embedding": false,
57
+ "torch_dtype": "float32",
58
+ "transformers_version": "4.7.0.dev0",
59
+ "use_pretrained_backbone": true,
60
+ "use_timm_backbone": true
61
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_pad": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "format": "coco_detection",
7
+ "image_mean": [
8
+ 0.485,
9
+ 0.456,
10
+ 0.406
11
+ ],
12
+ "image_processor_type": "DetrImageProcessor",
13
+ "image_std": [
14
+ 0.229,
15
+ 0.224,
16
+ 0.225
17
+ ],
18
+ "resample": 2,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "longest_edge": 1333,
22
+ "shortest_edge": 800
23
+ }
24
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eca46df1f189e48c3723192e4386afd46f6ff166209f22d728012c6445ec02da
3
+ size 166620197
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c80f9bb97c66fe7baff65e9c92346a349e75186cdae00a2aa3184a27405d680
3
+ size 3579