KomaAl commited on
Commit
5357eae
·
1 Parent(s): 251d6b8

Add model weights, config, and processor

Browse files
Files changed (3) hide show
  1. config.json +58 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +23 -0
config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Swinv2ForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "depths": [
7
+ 2,
8
+ 2,
9
+ 18,
10
+ 2
11
+ ],
12
+ "drop_path_rate": 0.1,
13
+ "dtype": "float32",
14
+ "embed_dim": 96,
15
+ "encoder_stride": 32,
16
+ "hidden_act": "gelu",
17
+ "hidden_dropout_prob": 0.0,
18
+ "hidden_size": 768,
19
+ "image_size": 256,
20
+ "initializer_range": 0.02,
21
+ "layer_norm_eps": 1e-05,
22
+ "mlp_ratio": 4.0,
23
+ "model_type": "swinv2",
24
+ "num_channels": 3,
25
+ "num_heads": [
26
+ 3,
27
+ 6,
28
+ 12,
29
+ 24
30
+ ],
31
+ "num_layers": 4,
32
+ "out_features": [
33
+ "stage4"
34
+ ],
35
+ "out_indices": [
36
+ 4
37
+ ],
38
+ "patch_size": 4,
39
+ "path_norm": true,
40
+ "pretrained_window_sizes": [
41
+ 0,
42
+ 0,
43
+ 0,
44
+ 0
45
+ ],
46
+ "problem_type": "single_label_classification",
47
+ "qkv_bias": true,
48
+ "stage_names": [
49
+ "stem",
50
+ "stage1",
51
+ "stage2",
52
+ "stage3",
53
+ "stage4"
54
+ ],
55
+ "transformers_version": "4.57.0",
56
+ "use_absolute_embeddings": false,
57
+ "window_size": 8
58
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0087f0af054cf5a1c09dfd17233bc05b6c538649061cdbe2c311275341736343
3
+ size 195905448
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "ViTImageProcessor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 256,
21
+ "width": 256
22
+ }
23
+ }