zeroone012012 commited on
Commit
034c6cb
·
verified ·
1 Parent(s): e8ac3e1

Upload DetaForObjectDetection

Browse files
Files changed (2) hide show
  1. config.json +64 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "jozhang97/deta-resnet-50",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "relu",
5
+ "architectures": [
6
+ "DetaForObjectDetection"
7
+ ],
8
+ "assign_first_stage": true,
9
+ "attention_dropout": 0.0,
10
+ "auxiliary_loss": false,
11
+ "backbone_config": {
12
+ "model_type": "resnet",
13
+ "out_features": [
14
+ "stage2",
15
+ "stage3",
16
+ "stage4"
17
+ ],
18
+ "out_indices": [
19
+ 2,
20
+ 3,
21
+ 4
22
+ ]
23
+ },
24
+ "bbox_cost": 5,
25
+ "bbox_loss_coefficient": 5,
26
+ "class_cost": 1,
27
+ "d_model": 256,
28
+ "decoder_attention_heads": 8,
29
+ "decoder_ffn_dim": 2048,
30
+ "decoder_layerdrop": 0.0,
31
+ "decoder_layers": 6,
32
+ "decoder_n_points": 4,
33
+ "dice_loss_coefficient": 1,
34
+ "dropout": 0.1,
35
+ "encoder_attention_heads": 8,
36
+ "encoder_ffn_dim": 2048,
37
+ "encoder_layerdrop": 0.0,
38
+ "encoder_layers": 6,
39
+ "encoder_n_points": 4,
40
+ "eos_coefficient": 0.1,
41
+ "focal_alpha": 0.25,
42
+ "giou_cost": 2,
43
+ "giou_loss_coefficient": 2,
44
+ "id2label": {
45
+ "0": "LABEL_0"
46
+ },
47
+ "init_std": 0.02,
48
+ "init_xavier_std": 1.0,
49
+ "is_encoder_decoder": true,
50
+ "label2id": {
51
+ "LABEL_0": 0
52
+ },
53
+ "mask_loss_coefficient": 1,
54
+ "max_position_embeddings": 2048,
55
+ "model_type": "deta",
56
+ "num_feature_levels": 5,
57
+ "num_queries": 900,
58
+ "position_embedding_type": "sine",
59
+ "torch_dtype": "float32",
60
+ "transformers_version": "4.36.2",
61
+ "two_stage": true,
62
+ "two_stage_num_proposals": 300,
63
+ "with_box_refine": true
64
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6335d425d15386585961c93bb666079caa56b1b3adccbca268c8e2bf27db618b
3
+ size 193608620