hf-transformers-bot commited on
Commit
bb2c511
·
verified ·
1 Parent(s): 08f9c1b

Update tiny models for LwDetrViTBackbone

Browse files
Files changed (3) hide show
  1. config.json +44 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +29 -0
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LwDetrViTBackbone"
4
+ ],
5
+ "cae_init_values": 0.1,
6
+ "dropout_prob": 0.0,
7
+ "dtype": "float32",
8
+ "hidden_act": "gelu",
9
+ "hidden_size": 16,
10
+ "image_size": 256,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_eps": 1e-06,
13
+ "mlp_ratio": 4,
14
+ "model_type": "lw_detr_vit",
15
+ "num_attention_heads": 2,
16
+ "num_channels": 3,
17
+ "num_hidden_layers": 4,
18
+ "num_windows": 16,
19
+ "num_windows_side": 4,
20
+ "out_features": [
21
+ "stage1",
22
+ "stage3"
23
+ ],
24
+ "out_indices": [
25
+ 1,
26
+ 3
27
+ ],
28
+ "patch_size": 16,
29
+ "pretrain_image_size": 224,
30
+ "qkv_bias": true,
31
+ "stage_names": [
32
+ "stem",
33
+ "stage1",
34
+ "stage2",
35
+ "stage3",
36
+ "stage4"
37
+ ],
38
+ "transformers_version": "5.16.0.dev0",
39
+ "use_absolute_position_embeddings": true,
40
+ "window_block_indices": [
41
+ 0,
42
+ 2
43
+ ]
44
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4806aff8e2ea9cd40b3959d02c585494ada52a9990885a6030bba0cbb95753c
3
+ size 121600
preprocessor_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 256,
4
+ "width": 256
5
+ },
6
+ "do_convert_annotations": true,
7
+ "do_normalize": true,
8
+ "do_pad": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "format": "coco_detection",
12
+ "image_mean": [
13
+ 0.485,
14
+ 0.456,
15
+ 0.406
16
+ ],
17
+ "image_processor_type": "DeformableDetrImageProcessor",
18
+ "image_std": [
19
+ 0.229,
20
+ 0.224,
21
+ 0.225
22
+ ],
23
+ "resample": 2,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "height": 256,
27
+ "width": 256
28
+ }
29
+ }