Xenova HF Staff commited on
Commit
38790e3
·
verified ·
1 Parent(s): f1e2196

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +55 -0
  2. onnx/model.onnx +3 -0
  3. preprocessor_config.json +24 -0
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "hf-internal-testing/tiny-random-Swinv2ForImageClassification",
4
+ "architectures": [
5
+ "Swinv2ForImageClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "depths": [
9
+ 1,
10
+ 2,
11
+ 1
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "embed_dim": 16,
15
+ "encoder_stride": 8,
16
+ "hidden_act": "gelu",
17
+ "hidden_dropout_prob": 0.0,
18
+ "hidden_size": 64,
19
+ "image_size": 32,
20
+ "initializer_range": 0.02,
21
+ "layer_norm_eps": 1e-05,
22
+ "mlp_ratio": 2.0,
23
+ "model_type": "swinv2",
24
+ "num_channels": 3,
25
+ "num_heads": [
26
+ 2,
27
+ 2,
28
+ 4
29
+ ],
30
+ "num_layers": 3,
31
+ "out_features": [
32
+ "stage3"
33
+ ],
34
+ "out_indices": [
35
+ 3
36
+ ],
37
+ "patch_size": 2,
38
+ "path_norm": true,
39
+ "pretrained_window_sizes": [
40
+ 0,
41
+ 0,
42
+ 0,
43
+ 0
44
+ ],
45
+ "qkv_bias": true,
46
+ "stage_names": [
47
+ "stem",
48
+ "stage1",
49
+ "stage2",
50
+ "stage3"
51
+ ],
52
+ "transformers_version": "4.48.2",
53
+ "use_absolute_embeddings": false,
54
+ "window_size": 2
55
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8448fcedc4317843caa8a649d33b766d48b066d2f6abe18bc3b05e29c6f0891f
3
+ size 727895
preprocessor_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": 32,
3
+ "do_convert_rgb": null,
4
+ "do_normalize": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_processor_type": "ViTFeatureExtractor",
13
+ "image_std": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "resample": 2,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "height": 32,
22
+ "width": 32
23
+ }
24
+ }