dima806 commited on
Commit
3d9fa67
·
verified ·
1 Parent(s): 0ccd9f5

Upload folder using huggingface_hub

Browse files
checkpoint-2000/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/surface_crack_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.1"
32
  }
checkpoint-2000/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:060c93a5d2d5fc72bd96c70d9991618157e11303a00e663c4000b380c79617fd
3
+ size 343223968
checkpoint-2000/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:532d186010d9a8b4b8a74aba0e3c3e7427684498e274b9ad9ffa244736ad32ce
3
  size 686568453
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e7498613adbe93482a9b5ae012600ae30719b866d587ff45986f975b9a09934
3
  size 686568453
checkpoint-2000/rng_state.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:74e54dcb0f62f2c42c9920ceecb5903656a79cfffd5f60db366d2e87b347215c
3
  size 14575
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdc542a5e023e65500c562ed238ba3c92ecbaf0f3a7f4d756844dd8cb9ff443f
3
  size 14575
checkpoint-2000/scheduler.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:130a46494ec0f3d0764c84515fd83f10030da46130a6334f3fe1fe93a2dfbb99
3
  size 627
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:137724f176b842261aa41284dd60de8ab135a68a21d6acd31b9df8f0da0cd815
3
  size 627
checkpoint-2000/trainer_state.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "best_metric": 0.014515385031700134,
3
  "best_model_checkpoint": "surface_crack_image_detection/checkpoint-2000",
4
  "epoch": 2.0,
5
  "eval_steps": 500,
@@ -10,52 +10,58 @@
10
  "log_history": [
11
  {
12
  "epoch": 0.5,
13
- "learning_rate": 7.692307692307694e-06,
14
- "loss": 0.0951,
 
15
  "step": 500
16
  },
17
  {
18
  "epoch": 1.0,
19
- "learning_rate": 5.128205128205128e-06,
20
- "loss": 0.0122,
 
21
  "step": 1000
22
  },
23
  {
24
  "epoch": 1.0,
25
- "eval_accuracy": 0.999125,
26
- "eval_loss": 0.020023183897137642,
27
- "eval_runtime": 81.6171,
28
- "eval_samples_per_second": 98.019,
29
- "eval_steps_per_second": 12.252,
30
  "step": 1000
31
  },
32
  {
33
  "epoch": 1.5,
34
- "learning_rate": 2.564102564102564e-06,
35
- "loss": 0.0095,
 
36
  "step": 1500
37
  },
38
  {
39
  "epoch": 2.0,
 
40
  "learning_rate": 0.0,
41
- "loss": 0.0081,
42
  "step": 2000
43
  },
44
  {
45
  "epoch": 2.0,
46
- "eval_accuracy": 0.99925,
47
- "eval_loss": 0.014515385031700134,
48
- "eval_runtime": 80.0454,
49
- "eval_samples_per_second": 99.943,
50
- "eval_steps_per_second": 12.493,
51
  "step": 2000
52
  }
53
  ],
54
  "logging_steps": 500,
55
  "max_steps": 2000,
 
56
  "num_train_epochs": 2,
57
  "save_steps": 500,
58
  "total_flos": 4.959487335333888e+18,
 
59
  "trial_name": null,
60
  "trial_params": null
61
  }
 
1
  {
2
+ "best_metric": 0.011061140336096287,
3
  "best_model_checkpoint": "surface_crack_image_detection/checkpoint-2000",
4
  "epoch": 2.0,
5
  "eval_steps": 500,
 
10
  "log_history": [
11
  {
12
  "epoch": 0.5,
13
+ "grad_norm": 0.03909469395875931,
14
+ "learning_rate": 7.692307692307693e-07,
15
+ "loss": 0.0075,
16
  "step": 500
17
  },
18
  {
19
  "epoch": 1.0,
20
+ "grad_norm": 0.035770125687122345,
21
+ "learning_rate": 5.128205128205127e-07,
22
+ "loss": 0.0059,
23
  "step": 1000
24
  },
25
  {
26
  "epoch": 1.0,
27
+ "eval_accuracy": 0.998,
28
+ "eval_loss": 0.013308565132319927,
29
+ "eval_runtime": 90.6031,
30
+ "eval_samples_per_second": 88.297,
31
+ "eval_steps_per_second": 11.037,
32
  "step": 1000
33
  },
34
  {
35
  "epoch": 1.5,
36
+ "grad_norm": 0.03578406199812889,
37
+ "learning_rate": 2.5641025641025636e-07,
38
+ "loss": 0.0076,
39
  "step": 1500
40
  },
41
  {
42
  "epoch": 2.0,
43
+ "grad_norm": 0.3025926351547241,
44
  "learning_rate": 0.0,
45
+ "loss": 0.0053,
46
  "step": 2000
47
  },
48
  {
49
  "epoch": 2.0,
50
+ "eval_accuracy": 0.999125,
51
+ "eval_loss": 0.011061140336096287,
52
+ "eval_runtime": 78.7393,
53
+ "eval_samples_per_second": 101.601,
54
+ "eval_steps_per_second": 12.7,
55
  "step": 2000
56
  }
57
  ],
58
  "logging_steps": 500,
59
  "max_steps": 2000,
60
+ "num_input_tokens_seen": 0,
61
  "num_train_epochs": 2,
62
  "save_steps": 500,
63
  "total_flos": 4.959487335333888e+18,
64
+ "train_batch_size": 32,
65
  "trial_name": null,
66
  "trial_params": null
67
  }
checkpoint-2000/training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a4500a7e59bb12a1440963184983cf58c549b8d83938d4ceedfa81abf58046cd
3
- size 4027
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f8246352f5f80259f4594a1ef642cdf5671cff1c1ee89ab6ed8487d5aae2772
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/surface_crack_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.1"
32
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:060c93a5d2d5fc72bd96c70d9991618157e11303a00e663c4000b380c79617fd
3
+ size 343223968
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a4500a7e59bb12a1440963184983cf58c549b8d83938d4ceedfa81abf58046cd
3
- size 4027
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f8246352f5f80259f4594a1ef642cdf5671cff1c1ee89ab6ed8487d5aae2772
3
+ size 4411