c14kevincardenas commited on
Commit
800d49a
·
verified ·
1 Parent(s): 4ce1535

Upload 2 files

Browse files
Files changed (2) hide show
  1. config.json +35 -0
  2. preprocessor_config.json +17 -0
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SwinForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "depths": [
7
+ 2,
8
+ 2,
9
+ 6,
10
+ 2
11
+ ],
12
+ "drop_path_rate": 0.1,
13
+ "embed_dim": 96,
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0.0,
16
+ "image_size": 224,
17
+ "initializer_range": 0.02,
18
+ "layer_norm_eps": 1e-05,
19
+ "mlp_ratio": 4.0,
20
+ "model_type": "swin",
21
+ "num_channels": 3,
22
+ "num_heads": [
23
+ 3,
24
+ 6,
25
+ 12,
26
+ 24
27
+ ],
28
+ "patch_size": 4,
29
+ "path_norm": true,
30
+ "qkv_bias": true,
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.16.0.dev0",
33
+ "use_absolute_embeddings": false,
34
+ "window_size": 7
35
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_resize": true,
4
+ "feature_extractor_type": "ViTFeatureExtractor",
5
+ "image_mean": [
6
+ 0.485,
7
+ 0.456,
8
+ 0.406
9
+ ],
10
+ "image_std": [
11
+ 0.229,
12
+ 0.224,
13
+ 0.225
14
+ ],
15
+ "resample": 3,
16
+ "size": 224
17
+ }