mansee commited on
Commit
829d5d2
1 Parent(s): cd4ed62

Training in progress, epoch 0

Browse files
config.json CHANGED
@@ -1,10 +1,18 @@
1
  {
2
- "_name_or_path": "mansee/vit-base-patch16-224-img_orientation",
3
  "architectures": [
4
- "ViTForImageClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.0,
7
- "encoder_stride": 16,
 
 
 
 
 
 
 
 
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 768,
@@ -16,21 +24,42 @@
16
  },
17
  "image_size": 224,
18
  "initializer_range": 0.02,
19
- "intermediate_size": 3072,
20
  "label2id": {
21
  "0_degree": 0,
22
  "180_degree": 1,
23
  "270_degree": 2,
24
  "90_degree": 3
25
  },
26
- "layer_norm_eps": 1e-12,
27
- "model_type": "vit",
28
- "num_attention_heads": 12,
29
  "num_channels": 3,
30
- "num_hidden_layers": 12,
31
- "patch_size": 16,
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  "problem_type": "single_label_classification",
33
  "qkv_bias": true,
 
 
 
 
 
 
 
34
  "torch_dtype": "float32",
35
- "transformers_version": "4.33.0"
 
 
36
  }
 
1
  {
2
+ "_name_or_path": "mansee/swin-tiny-patch4-window7-224",
3
  "architectures": [
4
+ "SwinForImageClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.0,
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 6,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "embed_dim": 96,
15
+ "encoder_stride": 32,
16
  "hidden_act": "gelu",
17
  "hidden_dropout_prob": 0.0,
18
  "hidden_size": 768,
 
24
  },
25
  "image_size": 224,
26
  "initializer_range": 0.02,
 
27
  "label2id": {
28
  "0_degree": 0,
29
  "180_degree": 1,
30
  "270_degree": 2,
31
  "90_degree": 3
32
  },
33
+ "layer_norm_eps": 1e-05,
34
+ "mlp_ratio": 4.0,
35
+ "model_type": "swin",
36
  "num_channels": 3,
37
+ "num_heads": [
38
+ 3,
39
+ 6,
40
+ 12,
41
+ 24
42
+ ],
43
+ "num_layers": 4,
44
+ "out_features": [
45
+ "stage4"
46
+ ],
47
+ "out_indices": [
48
+ 4
49
+ ],
50
+ "patch_size": 4,
51
+ "path_norm": true,
52
  "problem_type": "single_label_classification",
53
  "qkv_bias": true,
54
+ "stage_names": [
55
+ "stem",
56
+ "stage1",
57
+ "stage2",
58
+ "stage3",
59
+ "stage4"
60
+ ],
61
  "torch_dtype": "float32",
62
+ "transformers_version": "4.33.0",
63
+ "use_absolute_embeddings": false,
64
+ "window_size": 7
65
  }
preprocessor_config.json CHANGED
@@ -3,17 +3,17 @@
3
  "do_rescale": true,
4
  "do_resize": true,
5
  "image_mean": [
6
- 0.5,
7
- 0.5,
8
- 0.5
9
  ],
10
  "image_processor_type": "ViTImageProcessor",
11
  "image_std": [
12
- 0.5,
13
- 0.5,
14
- 0.5
15
  ],
16
- "resample": 2,
17
  "rescale_factor": 0.00392156862745098,
18
  "size": {
19
  "height": 224,
 
3
  "do_rescale": true,
4
  "do_resize": true,
5
  "image_mean": [
6
+ 0.485,
7
+ 0.456,
8
+ 0.406
9
  ],
10
  "image_processor_type": "ViTImageProcessor",
11
  "image_std": [
12
+ 0.229,
13
+ 0.224,
14
+ 0.225
15
  ],
16
+ "resample": 3,
17
  "rescale_factor": 0.00392156862745098,
18
  "size": {
19
  "height": 224,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c4c37922662794200c57403429baacdb39e17f069544eb1b0eb4416c85360e5a
3
- size 343274861
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29d9cb7bc776244d128cc22b651da80d239e1889da1a9bda718ee516b0273c38
3
+ size 110401009
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c928809b4084c7862bc6a3098a8471852d09b1021b4bd122939ae88dbfa6ca05
3
  size 4091
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:680b0ee6186f0015a5e2e485f8efc926834139a682b77ed22cabbe20d2f636d3
3
  size 4091