yujiepan commited on
Commit
5a4b7f5
1 Parent(s): 16f7f74

upload model

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