Yudsky commited on
Commit
36580e6
1 Parent(s): bf34e14

Training in progress, epoch 1

Browse files
config.json CHANGED
@@ -1,13 +1,21 @@
1
  {
2
- "_name_or_path": "trpakov/vit-face-expression",
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,
11
  "id2label": {
12
  "0": "anger",
13
  "1": "contempt",
@@ -20,7 +28,6 @@
20
  },
21
  "image_size": 224,
22
  "initializer_range": 0.02,
23
- "intermediate_size": 3072,
24
  "label2id": {
25
  "anger": "0",
26
  "contempt": "1",
@@ -31,14 +38,36 @@
31
  "sad": "6",
32
  "surprise": "7"
33
  },
34
- "layer_norm_eps": 1e-12,
35
- "model_type": "vit",
36
- "num_attention_heads": 12,
37
  "num_channels": 3,
38
- "num_hidden_layers": 12,
39
- "patch_size": 16,
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  "problem_type": "single_label_classification",
41
  "qkv_bias": true,
 
 
 
 
 
 
 
42
  "torch_dtype": "float32",
43
- "transformers_version": "4.44.2"
 
 
44
  }
 
1
  {
2
+ "_name_or_path": "microsoft/swin-base-patch4-window7-224-in22k",
3
  "architectures": [
4
+ "SwinForImageClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.0,
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 18,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "embed_dim": 128,
15
+ "encoder_stride": 32,
16
  "hidden_act": "gelu",
17
  "hidden_dropout_prob": 0.0,
18
+ "hidden_size": 1024,
19
  "id2label": {
20
  "0": "anger",
21
  "1": "contempt",
 
28
  },
29
  "image_size": 224,
30
  "initializer_range": 0.02,
 
31
  "label2id": {
32
  "anger": "0",
33
  "contempt": "1",
 
38
  "sad": "6",
39
  "surprise": "7"
40
  },
41
+ "layer_norm_eps": 1e-05,
42
+ "mlp_ratio": 4.0,
43
+ "model_type": "swin",
44
  "num_channels": 3,
45
+ "num_heads": [
46
+ 4,
47
+ 8,
48
+ 16,
49
+ 32
50
+ ],
51
+ "num_layers": 4,
52
+ "out_features": [
53
+ "stage4"
54
+ ],
55
+ "out_indices": [
56
+ 4
57
+ ],
58
+ "patch_size": 4,
59
+ "path_norm": true,
60
  "problem_type": "single_label_classification",
61
  "qkv_bias": true,
62
+ "stage_names": [
63
+ "stem",
64
+ "stage1",
65
+ "stage2",
66
+ "stage3",
67
+ "stage4"
68
+ ],
69
  "torch_dtype": "float32",
70
+ "transformers_version": "4.44.2",
71
+ "use_absolute_embeddings": false,
72
+ "window_size": 7
73
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3bd264f6e22f11fb96123ee30facaf700e2127658a88cabe0278858968b7540a
3
- size 343242432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:368697a802d97193f16bd1a4dcc13c6fab998e472cc6c0bba583dc66e00007fb
3
+ size 347523416
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,
runs/Sep06_10-50-45_b5b5a316ba07/events.out.tfevents.1725619858.b5b5a316ba07.1210.6 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:024df5aaca6521d01615e8788ac74ce94e6766672ef541e0e531d343d58e10e5
3
+ size 6074
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f2497623d1e769419aaaf6a573a444e096fabd72f605828f2118668cf07b8d23
3
  size 5240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b4dcf0cea76ed6e515dd351c4afabdfcf2f51c785ae6a1c6dda93d38844072d
3
  size 5240