Skullly commited on
Commit
089a4ef
1 Parent(s): 999ede4

Training in progress, step 500

Browse files
Files changed (4) hide show
  1. config.json +16 -76
  2. model.safetensors +2 -2
  3. preprocessor_config.json +10 -21
  4. training_args.bin +1 -1
config.json CHANGED
@@ -1,92 +1,32 @@
1
  {
2
- "_name_or_path": "google/efficientnet-b2",
3
  "architectures": [
4
- "EfficientNetForImageClassification"
5
  ],
6
- "batch_norm_eps": 0.001,
7
- "batch_norm_momentum": 0.99,
8
- "depth_coefficient": 1.2,
9
- "depth_divisor": 8,
10
- "depthwise_padding": [
11
- 5,
12
- 8,
13
- 16
14
- ],
15
- "drop_connect_rate": 0.2,
16
- "dropout_rate": 0.3,
17
- "expand_ratios": [
18
- 1,
19
- 6,
20
- 6,
21
- 6,
22
- 6,
23
- 6,
24
- 6
25
- ],
26
- "hidden_act": "swish",
27
- "hidden_dim": 1408,
28
  "id2label": {
29
  "0": "f",
30
  "1": "r"
31
  },
32
- "image_size": 260,
33
- "in_channels": [
34
- 32,
35
- 16,
36
- 24,
37
- 40,
38
- 80,
39
- 112,
40
- 192
41
- ],
42
  "initializer_range": 0.02,
43
- "kernel_sizes": [
44
- 3,
45
- 3,
46
- 5,
47
- 3,
48
- 5,
49
- 5,
50
- 3
51
- ],
52
  "label2id": {
53
  "fake": 0,
54
  "real": 1
55
  },
56
- "model_type": "efficientnet",
57
- "num_block_repeats": [
58
- 1,
59
- 2,
60
- 2,
61
- 3,
62
- 3,
63
- 4,
64
- 1
65
- ],
66
  "num_channels": 3,
67
- "num_hidden_layers": 64,
68
- "out_channels": [
69
- 16,
70
- 24,
71
- 40,
72
- 80,
73
- 112,
74
- 192,
75
- 320
76
- ],
77
- "pooling_type": "mean",
78
  "problem_type": "single_label_classification",
79
- "squeeze_expansion_ratio": 0.25,
80
- "strides": [
81
- 1,
82
- 2,
83
- 2,
84
- 2,
85
- 1,
86
- 2,
87
- 1
88
- ],
89
  "torch_dtype": "float32",
90
- "transformers_version": "4.41.2",
91
- "width_coefficient": 1.1
92
  }
 
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": "f",
13
  "1": "r"
14
  },
15
+ "image_size": 224,
 
 
 
 
 
 
 
 
 
16
  "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
 
 
 
 
 
 
 
 
18
  "label2id": {
19
  "fake": 0,
20
  "real": 1
21
  },
22
+ "layer_norm_eps": 1e-12,
23
+ "model_type": "vit",
24
+ "num_attention_heads": 12,
 
 
 
 
 
 
 
25
  "num_channels": 3,
26
+ "num_hidden_layers": 12,
27
+ "patch_size": 16,
 
 
 
 
 
 
 
 
 
28
  "problem_type": "single_label_classification",
29
+ "qkv_bias": true,
 
 
 
 
 
 
 
 
 
30
  "torch_dtype": "float32",
31
+ "transformers_version": "4.41.2"
 
32
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:adb7f140c03b6ee2768e7591c4021b67eb4dd0e853771d7612037ea4e2912734
3
- size 31151640
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6237e9e6b972fa1f287fc2b6b2c8d293c2d993708971e65f288596f867749cf1
3
+ size 343223968
preprocessor_config.json CHANGED
@@ -4,44 +4,33 @@
4
  "do_resize",
5
  "size",
6
  "resample",
7
- "do_center_crop",
8
- "crop_size",
9
  "do_rescale",
10
  "rescale_factor",
11
- "rescale_offset",
12
  "do_normalize",
13
  "image_mean",
14
  "image_std",
15
- "include_top",
16
  "return_tensors",
17
  "data_format",
18
  "input_data_format"
19
  ],
20
- "crop_size": {
21
- "height": 289,
22
- "width": 289
23
- },
24
- "do_center_crop": false,
25
  "do_normalize": true,
26
  "do_rescale": true,
27
  "do_resize": true,
28
  "image_mean": [
29
- 0.485,
30
- 0.456,
31
- 0.406
32
  ],
33
- "image_processor_type": "EfficientNetImageProcessor",
34
  "image_std": [
35
- 0.47853944,
36
- 0.4732864,
37
- 0.47434163
38
  ],
39
- "include_top": true,
40
- "resample": 0,
41
  "rescale_factor": 0.00392156862745098,
42
- "rescale_offset": false,
43
  "size": {
44
- "height": 260,
45
- "width": 260
46
  }
47
  }
 
4
  "do_resize",
5
  "size",
6
  "resample",
 
 
7
  "do_rescale",
8
  "rescale_factor",
 
9
  "do_normalize",
10
  "image_mean",
11
  "image_std",
 
12
  "return_tensors",
13
  "data_format",
14
  "input_data_format"
15
  ],
 
 
 
 
 
16
  "do_normalize": true,
17
  "do_rescale": true,
18
  "do_resize": true,
19
  "image_mean": [
20
+ 0.5,
21
+ 0.5,
22
+ 0.5
23
  ],
24
+ "image_processor_type": "ViTImageProcessor",
25
  "image_std": [
26
+ 0.5,
27
+ 0.5,
28
+ 0.5
29
  ],
30
+ "resample": 2,
 
31
  "rescale_factor": 0.00392156862745098,
 
32
  "size": {
33
+ "height": 224,
34
+ "width": 224
35
  }
36
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:52fd665af48052277f24b015e7be78ebd4aada91efede099a406c6c94d24a7df
3
  size 5048
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5c17f05f881acad21066bc021f10d2d464c4d0d37cb53f0392275bbd9309d4f
3
  size 5048