Parveshiiii commited on
Commit
43e431c
·
verified ·
1 Parent(s): e589e40

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +4 -43
config.json CHANGED
@@ -1,68 +1,29 @@
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
  }
 
1
  {
 
2
  "_num_labels": 2,
3
  "architectures": [
4
  "Swinv2ForImageClassification"
5
  ],
6
+ "depths": [2, 2, 18, 2],
 
 
 
 
 
 
7
  "drop_path_rate": 0.1,
8
  "embed_dim": 192,
9
  "encoder_stride": 32,
 
 
10
  "hidden_size": 1536,
11
  "id2label": {
12
  "0": "artificial",
13
  "1": "real"
14
  },
15
  "image_size": 256,
 
16
  "label2id": {
17
  "artificial": 0,
18
  "real": 1
19
  },
 
20
  "mlp_ratio": 4.0,
21
  "model_type": "swinv2",
22
  "num_channels": 3,
23
+ "num_heads": [6, 12, 24, 48],
24
+ "out_features": ["stage4"],
 
 
 
 
 
 
 
 
 
 
 
25
  "patch_size": 4,
26
  "path_norm": true,
27
+ "pretrained_window_sizes": [12, 12, 12, 6],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  "window_size": 16
29
  }