dima806 commited on
Commit
37d1c32
1 Parent(s): 3c822a9

Upload folder using huggingface_hub

Browse files
checkpoint-1209/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/closed_eyes_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": "closeEye",
13
+ "1": "openEye"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "closeEye": 0,
20
+ "openEye": 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.36.1"
32
+ }
checkpoint-1209/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83cd65499096fbc1cb3a920fbd69b2f7b3703eeda89ce3a178912805cf81a496
3
+ size 343223968
checkpoint-1209/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ad90fafdf95aeaceefa1ab5336bd64d9ac562096a0c1eec37a58a2cd05efd49
3
+ size 686568453
checkpoint-1209/preprocessor_config.json ADDED
@@ -0,0 +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
+ }
checkpoint-1209/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19792a0daed59e811a2e090a0eb2e03f487ea4ec18151dcb28b275d9f5595303
3
+ size 14575
checkpoint-1209/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3590e198b7f3756c335bed59081404d51390f071e476654995fb61488c4279b4
3
+ size 627
checkpoint-1209/trainer_state.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.03709202632308006,
3
+ "best_model_checkpoint": "closed_eyes_image_detection/checkpoint-1209",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1209,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.41,
13
+ "learning_rate": 6.117342536669542e-07,
14
+ "loss": 0.0415,
15
+ "step": 500
16
+ },
17
+ {
18
+ "epoch": 0.83,
19
+ "learning_rate": 1.80327868852459e-07,
20
+ "loss": 0.0369,
21
+ "step": 1000
22
+ },
23
+ {
24
+ "epoch": 1.0,
25
+ "eval_accuracy": 0.9889419159585613,
26
+ "eval_loss": 0.03709202632308006,
27
+ "eval_runtime": 80.0464,
28
+ "eval_samples_per_second": 107.325,
29
+ "eval_steps_per_second": 3.361,
30
+ "step": 1209
31
+ }
32
+ ],
33
+ "logging_steps": 500,
34
+ "max_steps": 1209,
35
+ "num_input_tokens_seen": 0,
36
+ "num_train_epochs": 1,
37
+ "save_steps": 500,
38
+ "total_flos": 5.991138193072951e+18,
39
+ "train_batch_size": 64,
40
+ "trial_name": null,
41
+ "trial_params": null
42
+ }
checkpoint-1209/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:769a65a17035482e7a318ce812153a0fd2a30b25a53068bbb3fd79ad008889c6
3
+ size 4219
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "google/vit-base-patch16-224-in21k",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
@@ -28,5 +28,5 @@
28
  "problem_type": "single_label_classification",
29
  "qkv_bias": true,
30
  "torch_dtype": "float32",
31
- "transformers_version": "4.34.1"
32
  }
 
1
  {
2
+ "_name_or_path": "dima806/closed_eyes_image_detection",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
28
  "problem_type": "single_label_classification",
29
  "qkv_bias": true,
30
  "torch_dtype": "float32",
31
+ "transformers_version": "4.36.1"
32
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83cd65499096fbc1cb3a920fbd69b2f7b3703eeda89ce3a178912805cf81a496
3
+ size 343223968
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4841972deb4ed243d9bc4d5ed50ce6770f3b4ab70c51a18c3e412c191a12d6ad
3
- size 4027
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:769a65a17035482e7a318ce812153a0fd2a30b25a53068bbb3fd79ad008889c6
3
+ size 4219