sam2ai commited on
Commit
fcccfa5
1 Parent(s): 4045c0a

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +100 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +26 -0
config.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "PekingU/rtdetr_r50vd_coco_o365",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "silu",
5
+ "anchor_image_size": null,
6
+ "architectures": [
7
+ "RTDetrForObjectDetection"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "auxiliary_loss": true,
11
+ "backbone": null,
12
+ "backbone_config": {
13
+ "model_type": "rt_detr_resnet",
14
+ "out_features": [
15
+ "stage2",
16
+ "stage3",
17
+ "stage4"
18
+ ],
19
+ "out_indices": [
20
+ 2,
21
+ 3,
22
+ 4
23
+ ]
24
+ },
25
+ "backbone_kwargs": null,
26
+ "batch_norm_eps": 1e-05,
27
+ "box_noise_scale": 1.0,
28
+ "d_model": 256,
29
+ "decoder_activation_function": "relu",
30
+ "decoder_attention_heads": 8,
31
+ "decoder_ffn_dim": 1024,
32
+ "decoder_in_channels": [
33
+ 256,
34
+ 256,
35
+ 256
36
+ ],
37
+ "decoder_layers": 6,
38
+ "decoder_n_points": 4,
39
+ "disable_custom_kernels": true,
40
+ "dropout": 0.0,
41
+ "encode_proj_layers": [
42
+ 2
43
+ ],
44
+ "encoder_activation_function": "gelu",
45
+ "encoder_attention_heads": 8,
46
+ "encoder_ffn_dim": 1024,
47
+ "encoder_hidden_dim": 256,
48
+ "encoder_in_channels": [
49
+ 512,
50
+ 1024,
51
+ 2048
52
+ ],
53
+ "encoder_layers": 1,
54
+ "eos_coefficient": 0.0001,
55
+ "eval_size": null,
56
+ "feat_strides": [
57
+ 8,
58
+ 16,
59
+ 32
60
+ ],
61
+ "focal_loss_alpha": 0.75,
62
+ "focal_loss_gamma": 2.0,
63
+ "hidden_expansion": 1.0,
64
+ "id2label": {
65
+ "0": "Bird",
66
+ "1": "Lovebird",
67
+ "2": "Pigeon"
68
+ },
69
+ "initializer_bias_prior_prob": null,
70
+ "initializer_range": 0.01,
71
+ "is_encoder_decoder": true,
72
+ "label2id": {
73
+ "Bird": 0,
74
+ "Lovebird": 1,
75
+ "Pigeon": 2
76
+ },
77
+ "label_noise_ratio": 0.5,
78
+ "layer_norm_eps": 1e-05,
79
+ "learn_initial_query": false,
80
+ "matcher_alpha": 0.25,
81
+ "matcher_bbox_cost": 5.0,
82
+ "matcher_class_cost": 2.0,
83
+ "matcher_gamma": 2.0,
84
+ "matcher_giou_cost": 2.0,
85
+ "model_type": "rt_detr",
86
+ "normalize_before": false,
87
+ "num_denoising": 100,
88
+ "num_feature_levels": 3,
89
+ "num_queries": 300,
90
+ "positional_encoding_temperature": 10000,
91
+ "torch_dtype": "float32",
92
+ "transformers_version": "4.43.0.dev0",
93
+ "use_focal_loss": true,
94
+ "use_pretrained_backbone": false,
95
+ "use_timm_backbone": false,
96
+ "weight_loss_bbox": 5.0,
97
+ "weight_loss_giou": 2.0,
98
+ "weight_loss_vfl": 1.0,
99
+ "with_box_refine": true
100
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:443f08696518c8e9305eccc2dc16036cb070bd8e046d87733f82a8ffcbff16ea
3
+ size 171542900
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_annotations": true,
3
+ "do_normalize": false,
4
+ "do_pad": false,
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": "RTDetrImageProcessor",
14
+ "image_std": [
15
+ 0.229,
16
+ 0.224,
17
+ 0.225
18
+ ],
19
+ "pad_size": null,
20
+ "resample": 2,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "height": 480,
24
+ "width": 480
25
+ }
26
+ }