dima806 commited on
Commit
87d49ea
1 Parent(s): 331a3eb

Upload folder using huggingface_hub

Browse files
checkpoint-290/config.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/ball_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": "wiffle ball",
13
+ "1": "puffballs",
14
+ "2": "chrochet ball",
15
+ "3": "golf ball",
16
+ "4": "pokeman balls",
17
+ "5": "water polo ball",
18
+ "6": "football",
19
+ "7": "marble",
20
+ "8": "medicine ball",
21
+ "9": "tether ball",
22
+ "10": "billiard ball",
23
+ "11": "cannon ball",
24
+ "12": "crystal ball",
25
+ "13": "cricket ball",
26
+ "14": "sepak takraw ball",
27
+ "15": "tennis ball",
28
+ "16": "wrecking ball",
29
+ "17": "rubberband ball",
30
+ "18": "buckeyballs",
31
+ "19": "bowling ball",
32
+ "20": "eyeballs",
33
+ "21": "meat ball",
34
+ "22": "brass",
35
+ "23": "screwballs",
36
+ "24": "baseball",
37
+ "25": "beachballs",
38
+ "26": "soccer ball",
39
+ "27": "basketball",
40
+ "28": "volley ball",
41
+ "29": "paint balls"
42
+ },
43
+ "image_size": 224,
44
+ "initializer_range": 0.02,
45
+ "intermediate_size": 3072,
46
+ "label2id": {
47
+ "baseball": 24,
48
+ "basketball": 27,
49
+ "beachballs": 25,
50
+ "billiard ball": 10,
51
+ "bowling ball": 19,
52
+ "brass": 22,
53
+ "buckeyballs": 18,
54
+ "cannon ball": 11,
55
+ "chrochet ball": 2,
56
+ "cricket ball": 13,
57
+ "crystal ball": 12,
58
+ "eyeballs": 20,
59
+ "football": 6,
60
+ "golf ball": 3,
61
+ "marble": 7,
62
+ "meat ball": 21,
63
+ "medicine ball": 8,
64
+ "paint balls": 29,
65
+ "pokeman balls": 4,
66
+ "puffballs": 1,
67
+ "rubberband ball": 17,
68
+ "screwballs": 23,
69
+ "sepak takraw ball": 14,
70
+ "soccer ball": 26,
71
+ "tennis ball": 15,
72
+ "tether ball": 9,
73
+ "volley ball": 28,
74
+ "water polo ball": 5,
75
+ "wiffle ball": 0,
76
+ "wrecking ball": 16
77
+ },
78
+ "layer_norm_eps": 1e-12,
79
+ "model_type": "vit",
80
+ "num_attention_heads": 12,
81
+ "num_channels": 3,
82
+ "num_hidden_layers": 12,
83
+ "patch_size": 16,
84
+ "problem_type": "single_label_classification",
85
+ "qkv_bias": true,
86
+ "torch_dtype": "float32",
87
+ "transformers_version": "4.38.2"
88
+ }
checkpoint-290/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e0febf2a3efe0c07a8bbca4709c5da8f71105e7acbb0cb631eff085fe25c394
3
+ size 343310104
checkpoint-290/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f00fc85b0980ba8246be073d5f08073dd2d82ecf9e11be8551789a86a752aa7
3
+ size 686740613
checkpoint-290/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-290/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e0c661cefc19420075731915846844bc173dee9e5c05cac1ea60a7b484a5fb3
3
+ size 14575
checkpoint-290/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a7189f9b19e913b9342d2543b8805b6dea0f710b4840d24ef3fbe6929786607
3
+ size 627
checkpoint-290/trainer_state.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.190980926156044,
3
+ "best_model_checkpoint": "ball_types_image_detection/checkpoint-290",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 290,
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.19344626367092133,
15
+ "eval_runtime": 10.961,
16
+ "eval_samples_per_second": 105.647,
17
+ "eval_steps_per_second": 13.229,
18
+ "step": 145
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 1.0,
23
+ "eval_loss": 0.190980926156044,
24
+ "eval_runtime": 10.9115,
25
+ "eval_samples_per_second": 106.127,
26
+ "eval_steps_per_second": 13.289,
27
+ "step": 290
28
+ }
29
+ ],
30
+ "logging_steps": 500,
31
+ "max_steps": 290,
32
+ "num_input_tokens_seen": 0,
33
+ "num_train_epochs": 2,
34
+ "save_steps": 500,
35
+ "total_flos": 7.180659489214956e+17,
36
+ "train_batch_size": 32,
37
+ "trial_name": null,
38
+ "trial_params": null
39
+ }
checkpoint-290/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c57a2f17fe0eefe14859268feaf7f0535a50a13e34ff15f3794c5356e612d4bd
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
  ],
@@ -84,5 +84,5 @@
84
  "problem_type": "single_label_classification",
85
  "qkv_bias": true,
86
  "torch_dtype": "float32",
87
- "transformers_version": "4.34.0"
88
  }
 
1
  {
2
+ "_name_or_path": "dima806/ball_types_image_detection",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
84
  "problem_type": "single_label_classification",
85
  "qkv_bias": true,
86
  "torch_dtype": "float32",
87
+ "transformers_version": "4.38.2"
88
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e0febf2a3efe0c07a8bbca4709c5da8f71105e7acbb0cb631eff085fe25c394
3
+ size 343310104
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:78194580e356503461753e0a70386560d83529d4e380207cf277abdd84aa5f54
3
- size 4027
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c57a2f17fe0eefe14859268feaf7f0535a50a13e34ff15f3794c5356e612d4bd
3
+ size 4411