dima806 commited on
Commit
271471f
1 Parent(s): faeec91

Upload folder using huggingface_hub

Browse files
checkpoint-750/config.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/30_plant_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": "guava",
13
+ "1": "galangal",
14
+ "2": "bilimbi",
15
+ "3": "paddy",
16
+ "4": "eggplant",
17
+ "5": "cucumber",
18
+ "6": "cassava",
19
+ "7": "papaya",
20
+ "8": "banana",
21
+ "9": "orange",
22
+ "10": "cantaloupe",
23
+ "11": "coconut",
24
+ "12": "soybeans",
25
+ "13": "pomelo",
26
+ "14": "pineapple",
27
+ "15": "melon",
28
+ "16": "shallot",
29
+ "17": "peperchili",
30
+ "18": "spinach",
31
+ "19": "tobacco",
32
+ "20": "aloevera",
33
+ "21": "curcuma",
34
+ "22": "corn",
35
+ "23": "ginger",
36
+ "24": "sweetpotatoes",
37
+ "25": "kale",
38
+ "26": "longbeans",
39
+ "27": "watermelon",
40
+ "28": "mango",
41
+ "29": "waterapple"
42
+ },
43
+ "image_size": 224,
44
+ "initializer_range": 0.02,
45
+ "intermediate_size": 3072,
46
+ "label2id": {
47
+ "aloevera": 20,
48
+ "banana": 8,
49
+ "bilimbi": 2,
50
+ "cantaloupe": 10,
51
+ "cassava": 6,
52
+ "coconut": 11,
53
+ "corn": 22,
54
+ "cucumber": 5,
55
+ "curcuma": 21,
56
+ "eggplant": 4,
57
+ "galangal": 1,
58
+ "ginger": 23,
59
+ "guava": 0,
60
+ "kale": 25,
61
+ "longbeans": 26,
62
+ "mango": 28,
63
+ "melon": 15,
64
+ "orange": 9,
65
+ "paddy": 3,
66
+ "papaya": 7,
67
+ "peperchili": 17,
68
+ "pineapple": 14,
69
+ "pomelo": 13,
70
+ "shallot": 16,
71
+ "soybeans": 12,
72
+ "spinach": 18,
73
+ "sweetpotatoes": 24,
74
+ "tobacco": 19,
75
+ "waterapple": 29,
76
+ "watermelon": 27
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-750/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:589808930256fc97cac83069607e7dadd8cd923a38f0645cf4052891e5346162
3
+ size 343310104
checkpoint-750/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1ad55ac82f53c220efdcabc859eb1b0f1b1771f84c37e8a8e0eee2da81ac844
3
+ size 686740613
checkpoint-750/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-750/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c52a9877e395bc335d3b28246663da6e43d0032642fd8923f76db61f1ee7fb1e
3
+ size 14575
checkpoint-750/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ffb03032837c4704e468acea1feb671be41951050149e0db25aabbc877dcff1
3
+ size 627
checkpoint-750/trainer_state.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.5335359573364258,
3
+ "best_model_checkpoint": "30_plant_types_image_detection/checkpoint-750",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 750,
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.9293333333333333,
14
+ "eval_loss": 0.541715681552887,
15
+ "eval_runtime": 74.0607,
16
+ "eval_samples_per_second": 81.015,
17
+ "eval_steps_per_second": 2.538,
18
+ "step": 375
19
+ },
20
+ {
21
+ "epoch": 1.33,
22
+ "grad_norm": 2.0237746238708496,
23
+ "learning_rate": 7.142857142857143e-07,
24
+ "loss": 0.5062,
25
+ "step": 500
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "eval_accuracy": 0.9291666666666667,
30
+ "eval_loss": 0.5335359573364258,
31
+ "eval_runtime": 74.2505,
32
+ "eval_samples_per_second": 80.808,
33
+ "eval_steps_per_second": 2.532,
34
+ "step": 750
35
+ }
36
+ ],
37
+ "logging_steps": 500,
38
+ "max_steps": 750,
39
+ "num_input_tokens_seen": 0,
40
+ "num_train_epochs": 2,
41
+ "save_steps": 500,
42
+ "total_flos": 3.720548958142464e+18,
43
+ "train_batch_size": 64,
44
+ "trial_name": null,
45
+ "trial_params": null
46
+ }
checkpoint-750/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:574f7ae00dcdce3bc67a5a8ea1bbb3c660ccdb56bb2d3f8997a4e473b8baa165
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.1"
88
  }
 
1
  {
2
+ "_name_or_path": "dima806/30_plant_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:589808930256fc97cac83069607e7dadd8cd923a38f0645cf4052891e5346162
3
+ size 343310104
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d7578b451e2da59e7897b3bcf30054f2aca4c25613cc961bdd1f0e9e3f79d356
3
- size 4027
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:574f7ae00dcdce3bc67a5a8ea1bbb3c660ccdb56bb2d3f8997a4e473b8baa165
3
+ size 4411