GOH-SIM-YNG-NICOLE commited on
Commit
e5a1baa
1 Parent(s): 6de9eb2

Upload processor

Browse files
Files changed (1) hide show
  1. preprocessor_config.json +88 -0
preprocessor_config.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/content/drive/MyDrive/C3879C_Capstone_Project/23042499-GohSimYngNicole-C3879C-AY23T4CP/DETR",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "relu",
5
+ "architectures": [
6
+ "DetrModel"
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
+ "do_normalize": true,
24
+ "do_pad": true,
25
+ "do_rescale": true,
26
+ "do_resize": true,
27
+ "dropout": 0.1,
28
+ "encoder_attention_heads": 8,
29
+ "encoder_ffn_dim": 2048,
30
+ "encoder_layerdrop": 0.0,
31
+ "encoder_layers": 6,
32
+ "eos_coefficient": 0.1,
33
+ "format": "coco_detection",
34
+ "giou_cost": 2,
35
+ "giou_loss_coefficient": 2,
36
+ "id2label": {
37
+ "0": "LABEL_0",
38
+ "1": "LABEL_1",
39
+ "2": "LABEL_2",
40
+ "3": "LABEL_3",
41
+ "4": "LABEL_4",
42
+ "5": "LABEL_5",
43
+ "6": "LABEL_6",
44
+ "7": "LABEL_7"
45
+ },
46
+ "image_mean": [
47
+ 0.485,
48
+ 0.456,
49
+ 0.406
50
+ ],
51
+ "image_processor_type": "DetrImageProcessor",
52
+ "image_std": [
53
+ 0.229,
54
+ 0.224,
55
+ 0.225
56
+ ],
57
+ "init_std": 0.02,
58
+ "init_xavier_std": 1.0,
59
+ "is_encoder_decoder": true,
60
+ "label2id": {
61
+ "LABEL_0": 0,
62
+ "LABEL_1": 1,
63
+ "LABEL_2": 2,
64
+ "LABEL_3": 3,
65
+ "LABEL_4": 4,
66
+ "LABEL_5": 5,
67
+ "LABEL_6": 6,
68
+ "LABEL_7": 7
69
+ },
70
+ "mask_loss_coefficient": 1,
71
+ "max_position_embeddings": 1024,
72
+ "model_type": "detr",
73
+ "num_channels": 3,
74
+ "num_hidden_layers": 6,
75
+ "num_queries": 100,
76
+ "position_embedding_type": "sine",
77
+ "resample": 2,
78
+ "rescale_factor": 0.00392156862745098,
79
+ "scale_embedding": false,
80
+ "size": {
81
+ "longest_edge": 1333,
82
+ "shortest_edge": 800
83
+ },
84
+ "torch_dtype": "float32",
85
+ "transformers_version": "4.35.2",
86
+ "use_pretrained_backbone": true,
87
+ "use_timm_backbone": true
88
+ }