dima806 commited on
Commit
3571763
1 Parent(s): dcd197e

Upload folder using huggingface_hub

Browse files
checkpoint-234/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/tyre_quality_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": "defective",
13
+ "1": "good"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "defective": 0,
20
+ "good": 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.38.2"
32
+ }
checkpoint-234/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3181b164a38522b3d5206f8360403e7fbd337023577b150c1604f6f1015a951f
3
+ size 343223968
checkpoint-234/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:849a9b334303cb956342d96c641fd5347adeaabe6fb1051cc714e2731e90d9c4
3
+ size 686568453
checkpoint-234/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-234/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:722795c456699eb6c072c288cb6a29097856f22cf6376145d7f98b2abff8b879
3
+ size 14575
checkpoint-234/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d14744117a58d1a84c4f55d97b74368d7468a11f4e5a96cfe69936e85838609
3
+ size 627
checkpoint-234/trainer_state.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.03909362852573395,
3
+ "best_model_checkpoint": "tyre_quality_image_detection/checkpoint-234",
4
+ "epoch": 6.0,
5
+ "eval_steps": 500,
6
+ "global_step": 234,
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.9927095990279465,
14
+ "eval_loss": 0.04069815203547478,
15
+ "eval_runtime": 61.445,
16
+ "eval_samples_per_second": 13.394,
17
+ "eval_steps_per_second": 1.676,
18
+ "step": 39
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.9927095990279465,
23
+ "eval_loss": 0.04418257623910904,
24
+ "eval_runtime": 60.7812,
25
+ "eval_samples_per_second": 13.54,
26
+ "eval_steps_per_second": 1.695,
27
+ "step": 78
28
+ },
29
+ {
30
+ "epoch": 3.0,
31
+ "eval_accuracy": 0.9927095990279465,
32
+ "eval_loss": 0.04346112906932831,
33
+ "eval_runtime": 60.1499,
34
+ "eval_samples_per_second": 13.682,
35
+ "eval_steps_per_second": 1.712,
36
+ "step": 117
37
+ },
38
+ {
39
+ "epoch": 4.0,
40
+ "eval_accuracy": 0.9927095990279465,
41
+ "eval_loss": 0.04120976850390434,
42
+ "eval_runtime": 61.5283,
43
+ "eval_samples_per_second": 13.376,
44
+ "eval_steps_per_second": 1.674,
45
+ "step": 156
46
+ },
47
+ {
48
+ "epoch": 5.0,
49
+ "eval_accuracy": 0.9927095990279465,
50
+ "eval_loss": 0.04329897463321686,
51
+ "eval_runtime": 59.6633,
52
+ "eval_samples_per_second": 13.794,
53
+ "eval_steps_per_second": 1.726,
54
+ "step": 195
55
+ },
56
+ {
57
+ "epoch": 6.0,
58
+ "eval_accuracy": 0.9927095990279465,
59
+ "eval_loss": 0.03909362852573395,
60
+ "eval_runtime": 60.276,
61
+ "eval_samples_per_second": 13.654,
62
+ "eval_steps_per_second": 1.709,
63
+ "step": 234
64
+ }
65
+ ],
66
+ "logging_steps": 500,
67
+ "max_steps": 390,
68
+ "num_input_tokens_seen": 0,
69
+ "num_train_epochs": 10,
70
+ "save_steps": 500,
71
+ "total_flos": 5.732857391687516e+17,
72
+ "train_batch_size": 32,
73
+ "trial_name": null,
74
+ "trial_params": null
75
+ }
checkpoint-234/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a978ffb0904ea4b96e89e54e25a7f91f908e201e318f7f5804eb80ea1eff0b8
3
+ size 4411
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.0"
32
  }
 
1
  {
2
+ "_name_or_path": "dima806/tyre_quality_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.38.2"
32
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3181b164a38522b3d5206f8360403e7fbd337023577b150c1604f6f1015a951f
3
+ size 343223968
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3c3520716753e3a508a25d098ff9ca1e14e705106e618f5fd17dd8bd0f027779
3
- size 4027
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a978ffb0904ea4b96e89e54e25a7f91f908e201e318f7f5804eb80ea1eff0b8
3
+ size 4411