dima806 commited on
Commit
446ddd0
1 Parent(s): 2169d8d

Upload folder using huggingface_hub

Browse files
checkpoint-190/config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/vehicle_10_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": "SUV",
13
+ "1": "bus",
14
+ "2": "family sedan",
15
+ "3": "fire engine",
16
+ "4": "heavy truck",
17
+ "5": "jeep",
18
+ "6": "minibus",
19
+ "7": "racing car",
20
+ "8": "taxi",
21
+ "9": "truck"
22
+ },
23
+ "image_size": 224,
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "SUV": 0,
28
+ "bus": 1,
29
+ "family sedan": 2,
30
+ "fire engine": 3,
31
+ "heavy truck": 4,
32
+ "jeep": 5,
33
+ "minibus": 6,
34
+ "racing car": 7,
35
+ "taxi": 8,
36
+ "truck": 9
37
+ },
38
+ "layer_norm_eps": 1e-12,
39
+ "model_type": "vit",
40
+ "num_attention_heads": 12,
41
+ "num_channels": 3,
42
+ "num_hidden_layers": 12,
43
+ "patch_size": 16,
44
+ "problem_type": "single_label_classification",
45
+ "qkv_bias": true,
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.38.1"
48
+ }
checkpoint-190/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:822c878485c426d70844cb9828e8a7400d67ef9daf90ab9469387c25b33ac0d7
3
+ size 343248584
checkpoint-190/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd46044b27975151109b694376afe9f015955db0c70e2cdba730172969d70525
3
+ size 686617605
checkpoint-190/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-190/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc4b1655800d4d95718a1b1299598e36b0c3746a61191d38020bc35a04d9d614
3
+ size 14575
checkpoint-190/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2560ee0a1331b7e23c570135a81e770ade25f36f2215144f457eba2dac388a2
3
+ size 627
checkpoint-190/trainer_state.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.6207549571990967,
3
+ "best_model_checkpoint": "vehicle_10_types_image_detection/checkpoint-190",
4
+ "epoch": 10.0,
5
+ "eval_steps": 500,
6
+ "global_step": 190,
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.93,
14
+ "eval_loss": 1.6812069416046143,
15
+ "eval_runtime": 10.8946,
16
+ "eval_samples_per_second": 36.715,
17
+ "eval_steps_per_second": 1.193,
18
+ "step": 19
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.9325,
23
+ "eval_loss": 1.6739251613616943,
24
+ "eval_runtime": 10.9614,
25
+ "eval_samples_per_second": 36.492,
26
+ "eval_steps_per_second": 1.186,
27
+ "step": 38
28
+ },
29
+ {
30
+ "epoch": 3.0,
31
+ "eval_accuracy": 0.935,
32
+ "eval_loss": 1.6619064807891846,
33
+ "eval_runtime": 11.065,
34
+ "eval_samples_per_second": 36.15,
35
+ "eval_steps_per_second": 1.175,
36
+ "step": 57
37
+ },
38
+ {
39
+ "epoch": 4.0,
40
+ "eval_accuracy": 0.94,
41
+ "eval_loss": 1.6508053541183472,
42
+ "eval_runtime": 10.8878,
43
+ "eval_samples_per_second": 36.738,
44
+ "eval_steps_per_second": 1.194,
45
+ "step": 76
46
+ },
47
+ {
48
+ "epoch": 5.0,
49
+ "eval_accuracy": 0.94,
50
+ "eval_loss": 1.6416151523590088,
51
+ "eval_runtime": 10.7705,
52
+ "eval_samples_per_second": 37.139,
53
+ "eval_steps_per_second": 1.207,
54
+ "step": 95
55
+ },
56
+ {
57
+ "epoch": 6.0,
58
+ "eval_accuracy": 0.9325,
59
+ "eval_loss": 1.6340376138687134,
60
+ "eval_runtime": 10.8454,
61
+ "eval_samples_per_second": 36.882,
62
+ "eval_steps_per_second": 1.199,
63
+ "step": 114
64
+ },
65
+ {
66
+ "epoch": 7.0,
67
+ "eval_accuracy": 0.9325,
68
+ "eval_loss": 1.6279455423355103,
69
+ "eval_runtime": 10.9246,
70
+ "eval_samples_per_second": 36.614,
71
+ "eval_steps_per_second": 1.19,
72
+ "step": 133
73
+ },
74
+ {
75
+ "epoch": 8.0,
76
+ "eval_accuracy": 0.935,
77
+ "eval_loss": 1.6240490674972534,
78
+ "eval_runtime": 10.9299,
79
+ "eval_samples_per_second": 36.597,
80
+ "eval_steps_per_second": 1.189,
81
+ "step": 152
82
+ },
83
+ {
84
+ "epoch": 9.0,
85
+ "eval_accuracy": 0.935,
86
+ "eval_loss": 1.621616244316101,
87
+ "eval_runtime": 10.8997,
88
+ "eval_samples_per_second": 36.698,
89
+ "eval_steps_per_second": 1.193,
90
+ "step": 171
91
+ },
92
+ {
93
+ "epoch": 10.0,
94
+ "eval_accuracy": 0.935,
95
+ "eval_loss": 1.6207549571990967,
96
+ "eval_runtime": 10.9979,
97
+ "eval_samples_per_second": 36.371,
98
+ "eval_steps_per_second": 1.182,
99
+ "step": 190
100
+ }
101
+ ],
102
+ "logging_steps": 500,
103
+ "max_steps": 190,
104
+ "num_input_tokens_seen": 0,
105
+ "num_train_epochs": 10,
106
+ "save_steps": 500,
107
+ "total_flos": 9.29970550849536e+17,
108
+ "train_batch_size": 64,
109
+ "trial_name": null,
110
+ "trial_params": null
111
+ }
checkpoint-190/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fd99a9e041e2b40bb5a0dcc2294432e2baadba56dccdebd8441b69d841fd426
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
  ],
@@ -44,5 +44,5 @@
44
  "problem_type": "single_label_classification",
45
  "qkv_bias": true,
46
  "torch_dtype": "float32",
47
- "transformers_version": "4.35.0"
48
  }
 
1
  {
2
+ "_name_or_path": "dima806/vehicle_10_types_image_detection",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
44
  "problem_type": "single_label_classification",
45
  "qkv_bias": true,
46
  "torch_dtype": "float32",
47
+ "transformers_version": "4.38.1"
48
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:972c0ebb2d90a3663c14b2dc35f3dcba5c73e5dcdcf72b291cb5c8219d9cd278
3
  size 343248584
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:822c878485c426d70844cb9828e8a7400d67ef9daf90ab9469387c25b33ac0d7
3
  size 343248584
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c5f0614e4fdaad6820df7757770fc519503676b10e7b93c7e551c574d4c5f1b3
3
- size 4091
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fd99a9e041e2b40bb5a0dcc2294432e2baadba56dccdebd8441b69d841fd426
3
+ size 4411