dima806 commited on
Commit
f4aa2a2
1 Parent(s): c1f6e5a

Upload folder using huggingface_hub

Browse files
checkpoint-180/config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/skin_types_image_detection",
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": "dry",
13
+ "1": "normal",
14
+ "2": "oily"
15
+ },
16
+ "image_size": 224,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "dry": 0,
21
+ "normal": 1,
22
+ "oily": 2
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "model_type": "vit",
26
+ "num_attention_heads": 12,
27
+ "num_channels": 3,
28
+ "num_hidden_layers": 12,
29
+ "patch_size": 16,
30
+ "problem_type": "single_label_classification",
31
+ "qkv_bias": true,
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.40.1"
34
+ }
checkpoint-180/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:572185743c6be523efcc72b71f12c089cb81baf54525a1831b333544ba47224a
3
+ size 343227052
checkpoint-180/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e810130f2f0755b51690c3c2b497ac73ca55722cf9302e4c7e00905fbe8dde3d
3
+ size 686575034
checkpoint-180/preprocessor_config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
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
+ }
checkpoint-180/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9d1eedae612b647afe5e808910cc6c25a2d9ac62dc78d82d41d644785985123
3
+ size 14244
checkpoint-180/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2cfb23b2865764cc7131ef99babb29f67ef1d883dea88ea7857a30057023c3c1
3
+ size 1064
checkpoint-180/trainer_state.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.9216932654380798,
3
+ "best_model_checkpoint": "skin_types_image_detection/checkpoint-180",
4
+ "epoch": 5.0,
5
+ "eval_steps": 500,
6
+ "global_step": 180,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "eval_accuracy": 0.6500981033355134,
14
+ "eval_loss": 0.9241806864738464,
15
+ "eval_runtime": 19.6412,
16
+ "eval_samples_per_second": 77.847,
17
+ "eval_steps_per_second": 2.444,
18
+ "step": 36
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.6507521255722695,
23
+ "eval_loss": 0.9233015179634094,
24
+ "eval_runtime": 19.4603,
25
+ "eval_samples_per_second": 78.57,
26
+ "eval_steps_per_second": 2.467,
27
+ "step": 72
28
+ },
29
+ {
30
+ "epoch": 3.0,
31
+ "eval_accuracy": 0.6546762589928058,
32
+ "eval_loss": 0.9224075078964233,
33
+ "eval_runtime": 19.6334,
34
+ "eval_samples_per_second": 77.878,
35
+ "eval_steps_per_second": 2.445,
36
+ "step": 108
37
+ },
38
+ {
39
+ "epoch": 4.0,
40
+ "eval_accuracy": 0.6533682145192936,
41
+ "eval_loss": 0.9218368530273438,
42
+ "eval_runtime": 19.439,
43
+ "eval_samples_per_second": 78.656,
44
+ "eval_steps_per_second": 2.469,
45
+ "step": 144
46
+ },
47
+ {
48
+ "epoch": 5.0,
49
+ "eval_accuracy": 0.6533682145192936,
50
+ "eval_loss": 0.9216932654380798,
51
+ "eval_runtime": 19.7524,
52
+ "eval_samples_per_second": 77.408,
53
+ "eval_steps_per_second": 2.43,
54
+ "step": 180
55
+ }
56
+ ],
57
+ "logging_steps": 500,
58
+ "max_steps": 180,
59
+ "num_input_tokens_seen": 0,
60
+ "num_train_epochs": 5,
61
+ "save_steps": 500,
62
+ "total_flos": 8.884536237887386e+17,
63
+ "train_batch_size": 64,
64
+ "trial_name": null,
65
+ "trial_params": null
66
+ }
checkpoint-180/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:feda3225a79e649d66ee4670b47cd0d12ba7eff7961c499a34768a1c99ec915b
3
+ size 4920
config.json CHANGED
@@ -30,5 +30,5 @@
30
  "problem_type": "single_label_classification",
31
  "qkv_bias": true,
32
  "torch_dtype": "float32",
33
- "transformers_version": "4.39.3"
34
  }
 
30
  "problem_type": "single_label_classification",
31
  "qkv_bias": true,
32
  "torch_dtype": "float32",
33
+ "transformers_version": "4.40.1"
34
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:83ce1a71aa0ca417c480bd0936102a0ff117ee9bf38a31979b1474a2a43f8376
3
  size 343227052
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:572185743c6be523efcc72b71f12c089cb81baf54525a1831b333544ba47224a
3
  size 343227052
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9956e965656e23e62ab9efcf647d3f321fe84137baf350162bf67e10f66199bf
3
- size 4856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:feda3225a79e649d66ee4670b47cd0d12ba7eff7961c499a34768a1c99ec915b
3
+ size 4920