grano1 commited on
Commit
a149b5c
·
verified ·
1 Parent(s): 9851984

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +80 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +23 -0
config.json ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Swinv2ForImageClassification"
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
+ "encoder_stride": 32,
15
+ "hidden_act": "gelu",
16
+ "hidden_dropout_prob": 0.0,
17
+ "hidden_size": 768,
18
+ "id2label": {
19
+ "0": "g",
20
+ "1": "g*",
21
+ "2": "s",
22
+ "3": "s*",
23
+ "4": "t",
24
+ "5": "t*",
25
+ "6": "u",
26
+ "7": "u*",
27
+ "8": "x"
28
+ },
29
+ "image_size": 256,
30
+ "initializer_range": 0.02,
31
+ "label2id": {
32
+ "g": 0,
33
+ "g*": 1,
34
+ "s": 2,
35
+ "s*": 3,
36
+ "t": 4,
37
+ "t*": 5,
38
+ "u": 6,
39
+ "u*": 7,
40
+ "x": 8
41
+ },
42
+ "layer_norm_eps": 1e-05,
43
+ "mlp_ratio": 4.0,
44
+ "model_type": "swinv2",
45
+ "num_channels": 3,
46
+ "num_heads": [
47
+ 3,
48
+ 6,
49
+ 12,
50
+ 24
51
+ ],
52
+ "num_layers": 4,
53
+ "out_features": [
54
+ "stage4"
55
+ ],
56
+ "out_indices": [
57
+ 4
58
+ ],
59
+ "patch_size": 4,
60
+ "path_norm": true,
61
+ "pretrained_window_sizes": [
62
+ 0,
63
+ 0,
64
+ 0,
65
+ 0
66
+ ],
67
+ "problem_type": "multi_label_classification",
68
+ "qkv_bias": true,
69
+ "stage_names": [
70
+ "stem",
71
+ "stage1",
72
+ "stage2",
73
+ "stage3",
74
+ "stage4"
75
+ ],
76
+ "torch_dtype": "float32",
77
+ "transformers_version": "4.51.2",
78
+ "use_absolute_embeddings": false,
79
+ "window_size": 16
80
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95348d832b833fb0759892485282c244d8a682fed2997a062d735ee6e940c774
3
+ size 110371676
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
+ }