jumeine commited on
Commit
f3150fe
·
verified ·
1 Parent(s): b64ef8f

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +62 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +25 -0
config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "SenseTime/deformable-detr",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "relu",
5
+ "architectures": [
6
+ "DeformableDetrForObjectDetection"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "auxiliary_loss": false,
10
+ "backbone": "resnet50",
11
+ "backbone_config": null,
12
+ "backbone_kwargs": null,
13
+ "bbox_cost": 5,
14
+ "bbox_loss_coefficient": 5,
15
+ "class_cost": 1,
16
+ "d_model": 256,
17
+ "decoder_attention_heads": 8,
18
+ "decoder_ffn_dim": 1024,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 6,
21
+ "decoder_n_points": 4,
22
+ "dice_loss_coefficient": 1,
23
+ "dilation": false,
24
+ "disable_custom_kernels": false,
25
+ "dropout": 0.1,
26
+ "encoder_attention_heads": 8,
27
+ "encoder_ffn_dim": 1024,
28
+ "encoder_layerdrop": 0.0,
29
+ "encoder_layers": 6,
30
+ "encoder_n_points": 4,
31
+ "eos_coefficient": 0.1,
32
+ "focal_alpha": 0.25,
33
+ "giou_cost": 2,
34
+ "giou_loss_coefficient": 2,
35
+ "id2label": {
36
+ "0": "fire",
37
+ "1": "vehicle",
38
+ "2": "human"
39
+ },
40
+ "init_std": 0.02,
41
+ "init_xavier_std": 1.0,
42
+ "is_encoder_decoder": true,
43
+ "label2id": {
44
+ "fire": "0",
45
+ "human": "2",
46
+ "vehicle": "1"
47
+ },
48
+ "mask_loss_coefficient": 1,
49
+ "max_position_embeddings": 1024,
50
+ "model_type": "deformable_detr",
51
+ "num_channels": 3,
52
+ "num_feature_levels": 4,
53
+ "num_queries": 300,
54
+ "position_embedding_type": "sine",
55
+ "torch_dtype": "float32",
56
+ "transformers_version": "4.38.2",
57
+ "two_stage": false,
58
+ "two_stage_num_proposals": 300,
59
+ "use_pretrained_backbone": true,
60
+ "use_timm_backbone": true,
61
+ "with_box_refine": false
62
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0addad49a58731d15e8f5d351b2d68a6e779300b30746d6547ce711674b3480
3
+ size 160678516
preprocessor_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_annotations": true,
3
+ "do_normalize": true,
4
+ "do_pad": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "format": "coco_detection",
8
+ "image_mean": [
9
+ 0.485,
10
+ 0.456,
11
+ 0.406
12
+ ],
13
+ "image_processor_type": "DeformableDetrImageProcessor",
14
+ "image_std": [
15
+ 0.229,
16
+ 0.224,
17
+ 0.225
18
+ ],
19
+ "resample": 2,
20
+ "rescale_factor": 0.00392156862745098,
21
+ "size": {
22
+ "longest_edge": 1333,
23
+ "shortest_edge": 800
24
+ }
25
+ }