dima806 commited on
Commit
5fdfa2a
·
verified ·
1 Parent(s): 3125a3c

Upload folder using huggingface_hub

Browse files
checkpoint-526/config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/vegetable_15_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": "Bean",
13
+ "1": "Bitter_Gourd",
14
+ "2": "Bottle_Gourd",
15
+ "3": "Brinjal",
16
+ "4": "Broccoli",
17
+ "5": "Cabbage",
18
+ "6": "Capsicum",
19
+ "7": "Carrot",
20
+ "8": "Cauliflower",
21
+ "9": "Cucumber",
22
+ "10": "Papaya",
23
+ "11": "Potato",
24
+ "12": "Pumpkin",
25
+ "13": "Radish",
26
+ "14": "Tomato"
27
+ },
28
+ "image_size": 224,
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 3072,
31
+ "label2id": {
32
+ "Bean": 0,
33
+ "Bitter_Gourd": 1,
34
+ "Bottle_Gourd": 2,
35
+ "Brinjal": 3,
36
+ "Broccoli": 4,
37
+ "Cabbage": 5,
38
+ "Capsicum": 6,
39
+ "Carrot": 7,
40
+ "Cauliflower": 8,
41
+ "Cucumber": 9,
42
+ "Papaya": 10,
43
+ "Potato": 11,
44
+ "Pumpkin": 12,
45
+ "Radish": 13,
46
+ "Tomato": 14
47
+ },
48
+ "layer_norm_eps": 1e-12,
49
+ "model_type": "vit",
50
+ "num_attention_heads": 12,
51
+ "num_channels": 3,
52
+ "num_hidden_layers": 12,
53
+ "patch_size": 16,
54
+ "problem_type": "single_label_classification",
55
+ "qkv_bias": true,
56
+ "torch_dtype": "float32",
57
+ "transformers_version": "4.38.2"
58
+ }
checkpoint-526/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:292655317086da6f121caf9079963d88d1747278755c6a2fc16bbf14eec0f93c
3
+ size 343263964
checkpoint-526/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78528cdc960b4595a9d1a0d87bb1d06da732ccf39a2ca40caa5c184a931ea3fe
3
+ size 686648325
checkpoint-526/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-526/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc524c04f39761e9f7c9451d3b08d63aba72bdebf124edd5f0634d0b87ffa30a
3
+ size 14575
checkpoint-526/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eba5b5768059eb46e2b6646b84b845c339ba6c6a9190afe09f79b4065db70c2d
3
+ size 627
checkpoint-526/trainer_state.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.22596770524978638,
3
+ "best_model_checkpoint": "vegetable_15_types_image_detection/checkpoint-526",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 526,
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.9997619047619047,
14
+ "eval_loss": 0.22884178161621094,
15
+ "eval_runtime": 36.2982,
16
+ "eval_samples_per_second": 115.708,
17
+ "eval_steps_per_second": 3.637,
18
+ "step": 263
19
+ },
20
+ {
21
+ "epoch": 1.9,
22
+ "grad_norm": 0.4019862711429596,
23
+ "learning_rate": 5.46218487394958e-08,
24
+ "loss": 0.2177,
25
+ "step": 500
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "eval_accuracy": 0.9997619047619047,
30
+ "eval_loss": 0.22596770524978638,
31
+ "eval_runtime": 36.2664,
32
+ "eval_samples_per_second": 115.81,
33
+ "eval_steps_per_second": 3.64,
34
+ "step": 526
35
+ }
36
+ ],
37
+ "logging_steps": 500,
38
+ "max_steps": 526,
39
+ "num_input_tokens_seen": 0,
40
+ "num_train_epochs": 2,
41
+ "save_steps": 500,
42
+ "total_flos": 2.604034224458957e+18,
43
+ "train_batch_size": 64,
44
+ "trial_name": null,
45
+ "trial_params": null
46
+ }
checkpoint-526/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3ed6a7d03791510a7b77e2c824a97af208afabb7e29ad2d61839cc905d8dbdb
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
  ],
@@ -54,5 +54,5 @@
54
  "problem_type": "single_label_classification",
55
  "qkv_bias": true,
56
  "torch_dtype": "float32",
57
- "transformers_version": "4.35.2"
58
  }
 
1
  {
2
+ "_name_or_path": "dima806/vegetable_15_types_image_detection",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
54
  "problem_type": "single_label_classification",
55
  "qkv_bias": true,
56
  "torch_dtype": "float32",
57
+ "transformers_version": "4.38.2"
58
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3fa9ddeb6b79169fd534e4d479b9a7ab85477f71e0f1f75cc3d015c809ffd657
3
  size 343263964
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:292655317086da6f121caf9079963d88d1747278755c6a2fc16bbf14eec0f93c
3
  size 343263964
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f9729811270590a17de24fc4ead7324de9c9b689f0e2a7241004360afdb642b4
3
- size 4091
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3ed6a7d03791510a7b77e2c824a97af208afabb7e29ad2d61839cc905d8dbdb
3
+ size 4411