dima806 commited on
Commit
4618ad9
1 Parent(s): 44ee114

Upload folder using huggingface_hub

Browse files
checkpoint-69/config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/full_flat_tyre_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": "flat",
13
+ "1": "no-tire",
14
+ "2": "full"
15
+ },
16
+ "image_size": 224,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "flat": 0,
21
+ "full": 2,
22
+ "no-tire": 1
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.38.2"
34
+ }
checkpoint-69/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29d9bdb0f53d81dbe0f174c443c9878264c9de95874429bec215ff3341a339b6
3
+ size 343227052
checkpoint-69/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ceda68466766e928059967ab09a1b8fc303460c84fd776d61f3b00bbd5e9eed1
3
+ size 686574597
checkpoint-69/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-69/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b50927cf85d558d689acda806f9c1436bbb8311bcae99a3db401a32bf98156c6
3
+ size 14575
checkpoint-69/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ac026d4828660bef43d605eaf75a9f237539254d6380511aa7d892a87ecdf03
3
+ size 627
checkpoint-69/trainer_state.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.04466908797621727,
3
+ "best_model_checkpoint": "full_flat_tyre_image_detection/checkpoint-69",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 69,
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": 1.0,
14
+ "eval_loss": 0.045954957604408264,
15
+ "eval_runtime": 1.7035,
16
+ "eval_samples_per_second": 105.664,
17
+ "eval_steps_per_second": 13.502,
18
+ "step": 23
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 1.0,
23
+ "eval_loss": 0.04501881077885628,
24
+ "eval_runtime": 1.7138,
25
+ "eval_samples_per_second": 105.027,
26
+ "eval_steps_per_second": 13.42,
27
+ "step": 46
28
+ },
29
+ {
30
+ "epoch": 3.0,
31
+ "eval_accuracy": 1.0,
32
+ "eval_loss": 0.04466908797621727,
33
+ "eval_runtime": 1.714,
34
+ "eval_samples_per_second": 105.015,
35
+ "eval_steps_per_second": 13.419,
36
+ "step": 69
37
+ }
38
+ ],
39
+ "logging_steps": 500,
40
+ "max_steps": 69,
41
+ "num_input_tokens_seen": 0,
42
+ "num_train_epochs": 3,
43
+ "save_steps": 500,
44
+ "total_flos": 1.6738419776569344e+17,
45
+ "train_batch_size": 32,
46
+ "trial_name": null,
47
+ "trial_params": null
48
+ }
checkpoint-69/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d19d5a2dce43849341ffdc922c3a98da595b978333d101985a2b56dd400564de
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
  ],
@@ -30,5 +30,5 @@
30
  "problem_type": "single_label_classification",
31
  "qkv_bias": true,
32
  "torch_dtype": "float32",
33
- "transformers_version": "4.34.0"
34
  }
 
1
  {
2
+ "_name_or_path": "dima806/full_flat_tyre_image_detection",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
30
  "problem_type": "single_label_classification",
31
  "qkv_bias": true,
32
  "torch_dtype": "float32",
33
+ "transformers_version": "4.38.2"
34
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29d9bdb0f53d81dbe0f174c443c9878264c9de95874429bec215ff3341a339b6
3
+ size 343227052
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1901aedd6acf705091f1126a0eea17ca7538b2712471a9242d78f837f33c5bcf
3
- size 4027
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d19d5a2dce43849341ffdc922c3a98da595b978333d101985a2b56dd400564de
3
+ size 4411