MG31 commited on
Commit
fa47f86
1 Parent(s): 1b64d5e

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +87 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +45 -0
config.json ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "backbone_kwargs": {
13
+ "in_chans": 3,
14
+ "out_indices": [
15
+ 1,
16
+ 2,
17
+ 3,
18
+ 4
19
+ ]
20
+ },
21
+ "bbox_cost": 5,
22
+ "bbox_loss_coefficient": 5,
23
+ "class_cost": 1,
24
+ "classifier_dropout": 0.0,
25
+ "d_model": 256,
26
+ "decoder_attention_heads": 8,
27
+ "decoder_ffn_dim": 2048,
28
+ "decoder_layerdrop": 0.0,
29
+ "decoder_layers": 6,
30
+ "dice_loss_coefficient": 1,
31
+ "dilation": false,
32
+ "dropout": 0.1,
33
+ "encoder_attention_heads": 8,
34
+ "encoder_ffn_dim": 2048,
35
+ "encoder_layerdrop": 0.0,
36
+ "encoder_layers": 6,
37
+ "eos_coefficient": 0.1,
38
+ "giou_cost": 2,
39
+ "giou_loss_coefficient": 2,
40
+ "id2label": {
41
+ "0": "Road_No_Parking",
42
+ "1": "Road_Speed_Limit_in_School_Zone",
43
+ "2": "Road_School_Zone",
44
+ "3": "Crosswalk",
45
+ "4": "Road_No_Stopping_or_Parking",
46
+ "5": "Road_No_Stopping_Zone",
47
+ "6": "truck",
48
+ "7": "car",
49
+ "8": "stop",
50
+ "9": "motorcycle",
51
+ "10": "traffic_lane_yellow_solid",
52
+ "11": "school_zone",
53
+ "12": "no_parking",
54
+ "13": "fire_hydrant"
55
+ },
56
+ "init_std": 0.02,
57
+ "init_xavier_std": 1.0,
58
+ "is_encoder_decoder": true,
59
+ "label2id": {
60
+ "LABEL_0": 0,
61
+ "LABEL_1": 1,
62
+ "LABEL_10": 10,
63
+ "LABEL_11": 11,
64
+ "LABEL_12": 12,
65
+ "LABEL_13": 13,
66
+ "LABEL_2": 2,
67
+ "LABEL_3": 3,
68
+ "LABEL_4": 4,
69
+ "LABEL_5": 5,
70
+ "LABEL_6": 6,
71
+ "LABEL_7": 7,
72
+ "LABEL_8": 8,
73
+ "LABEL_9": 9
74
+ },
75
+ "mask_loss_coefficient": 1,
76
+ "max_position_embeddings": 1024,
77
+ "model_type": "detr",
78
+ "num_channels": 3,
79
+ "num_hidden_layers": 6,
80
+ "num_queries": 100,
81
+ "position_embedding_type": "sine",
82
+ "scale_embedding": false,
83
+ "torch_dtype": "float32",
84
+ "transformers_version": "4.41.2",
85
+ "use_pretrained_backbone": true,
86
+ "use_timm_backbone": true
87
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:624ea654e2c7308957c9b9a053feedfa5be93be7cb7c907e6d2092a775208301
3
+ size 166508196
preprocessor_config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "annotations",
5
+ "return_segmentation_masks",
6
+ "masks_path",
7
+ "do_resize",
8
+ "size",
9
+ "resample",
10
+ "do_rescale",
11
+ "rescale_factor",
12
+ "do_normalize",
13
+ "do_convert_annotations",
14
+ "image_mean",
15
+ "image_std",
16
+ "do_pad",
17
+ "format",
18
+ "return_tensors",
19
+ "data_format",
20
+ "input_data_format"
21
+ ],
22
+ "do_convert_annotations": true,
23
+ "do_normalize": true,
24
+ "do_pad": true,
25
+ "do_rescale": true,
26
+ "do_resize": true,
27
+ "format": "coco_detection",
28
+ "image_mean": [
29
+ 0.485,
30
+ 0.456,
31
+ 0.406
32
+ ],
33
+ "image_processor_type": "DetrImageProcessor",
34
+ "image_std": [
35
+ 0.229,
36
+ 0.224,
37
+ 0.225
38
+ ],
39
+ "resample": 2,
40
+ "rescale_factor": 0.00392156862745098,
41
+ "size": {
42
+ "longest_edge": 1333,
43
+ "shortest_edge": 800
44
+ }
45
+ }