Alimuddin commited on
Commit
a37e911
1 Parent(s): 029f864

Training in progress, epoch 1

Browse files
Files changed (4) hide show
  1. config.json +53 -29
  2. preprocessor_config.json +10 -10
  3. pytorch_model.bin +2 -2
  4. training_args.bin +1 -1
config.json CHANGED
@@ -1,44 +1,68 @@
1
  {
2
- "_name_or_path": "google/vit-base-patch16-224-in21k",
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",
14
- "2": "disgust",
15
- "3": "fear",
16
- "4": "happy",
17
- "5": "neutral",
18
- "6": "sad",
19
- "7": "surprise"
 
 
20
  },
21
  "image_size": 224,
22
  "initializer_range": 0.02,
23
- "intermediate_size": 3072,
24
  "label2id": {
25
- "anger": "0",
26
- "contempt": "1",
27
- "disgust": "2",
28
- "fear": "3",
29
- "happy": "4",
30
- "neutral": "5",
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.33.2"
44
  }
 
1
  {
2
+ "_name_or_path": "facebook/convnext-large-224-22k-1k",
3
  "architectures": [
4
+ "ConvNextForImageClassification"
5
  ],
6
+ "depths": [
7
+ 3,
8
+ 3,
9
+ 27,
10
+ 3
11
+ ],
12
+ "drop_path_rate": 0.0,
13
  "hidden_act": "gelu",
14
+ "hidden_sizes": [
15
+ 192,
16
+ 384,
17
+ 768,
18
+ 1536
19
+ ],
20
  "id2label": {
21
+ "0": "goldfish",
22
+ "1": "scuba diver",
23
+ "2": "seashore",
24
+ "3": "green lizard",
25
+ "4": "ski",
26
+ "5": "flamingo",
27
+ "6": "red wine",
28
+ "7": "volcano",
29
+ "8": "jack-o'-lantern",
30
+ "9": "cowboy boot"
31
  },
32
  "image_size": 224,
33
  "initializer_range": 0.02,
 
34
  "label2id": {
35
+ "cowboy boot": "9",
36
+ "flamingo": "5",
37
+ "goldfish": "0",
38
+ "green lizard": "3",
39
+ "jack-o'-lantern": "8",
40
+ "red wine": "6",
41
+ "scuba diver": "1",
42
+ "seashore": "2",
43
+ "ski": "4",
44
+ "volcano": "7"
45
  },
46
  "layer_norm_eps": 1e-12,
47
+ "layer_scale_init_value": 1e-06,
48
+ "model_type": "convnext",
49
  "num_channels": 3,
50
+ "num_stages": 4,
51
+ "out_features": [
52
+ "stage4"
53
+ ],
54
+ "out_indices": [
55
+ 4
56
+ ],
57
+ "patch_size": 4,
58
  "problem_type": "single_label_classification",
59
+ "stage_names": [
60
+ "stem",
61
+ "stage1",
62
+ "stage2",
63
+ "stage3",
64
+ "stage4"
65
+ ],
66
  "torch_dtype": "float32",
67
+ "transformers_version": "4.33.3"
68
  }
preprocessor_config.json CHANGED
@@ -1,22 +1,22 @@
1
  {
 
2
  "do_normalize": true,
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,
20
- "width": 224
21
  }
22
  }
 
1
  {
2
+ "crop_pct": 0.875,
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": "ConvNextImageProcessor",
12
  "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
  ],
17
+ "resample": 3,
18
  "rescale_factor": 0.00392156862745098,
19
  "size": {
20
+ "shortest_edge": 224
 
21
  }
22
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8ca1ba59eba4ebed53c838f76965f7db91d79ff05fda79231d69e4225ad67b5d
3
- size 343287149
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75dcf18584575de5a8ba63d5c1094b76150e02b1f1452286c44647766ef51f94
3
+ size 785101485
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9bd65d9929e7df3343379a31a5a1308e4adeeccd13d3675fecfaeda48cfef7bf
3
  size 4091
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41266e6011f6ab4c659287ad0a7652494ea82bac523b86d498edc7d31d4e398c
3
  size 4091