Parveshiiii commited on
Commit
0a97c0d
·
verified ·
1 Parent(s): cf00a89

Upload 2 files

Browse files
Files changed (2) hide show
  1. config.json +68 -0
  2. preprocessor_config.json +23 -0
config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Parveshiiii/Image-Classifier",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "Swinv2ForImageClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "depths": [
9
+ 2,
10
+ 2,
11
+ 18,
12
+ 2
13
+ ],
14
+ "drop_path_rate": 0.1,
15
+ "embed_dim": 192,
16
+ "encoder_stride": 32,
17
+ "hidden_act": "gelu",
18
+ "hidden_dropout_prob": 0.0,
19
+ "hidden_size": 1536,
20
+ "id2label": {
21
+ "0": "artificial",
22
+ "1": "real"
23
+ },
24
+ "image_size": 256,
25
+ "initializer_range": 0.02,
26
+ "label2id": {
27
+ "artificial": 0,
28
+ "real": 1
29
+ },
30
+ "layer_norm_eps": 1e-05,
31
+ "mlp_ratio": 4.0,
32
+ "model_type": "swinv2",
33
+ "num_channels": 3,
34
+ "num_heads": [
35
+ 6,
36
+ 12,
37
+ 24,
38
+ 48
39
+ ],
40
+ "num_layers": 4,
41
+ "out_features": [
42
+ "stage4"
43
+ ],
44
+ "out_indices": [
45
+ 4
46
+ ],
47
+ "patch_size": 4,
48
+ "path_norm": true,
49
+ "pretrained_window_sizes": [
50
+ 12,
51
+ 12,
52
+ 12,
53
+ 6
54
+ ],
55
+ "problem_type": "single_label_classification",
56
+ "qkv_bias": true,
57
+ "stage_names": [
58
+ "stem",
59
+ "stage1",
60
+ "stage2",
61
+ "stage3",
62
+ "stage4"
63
+ ],
64
+ "torch_dtype": "float32",
65
+ "transformers_version": "4.48.0",
66
+ "use_absolute_embeddings": false,
67
+ "window_size": 16
68
+ }
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
+ }