dima806 commited on
Commit
4b0a9f3
1 Parent(s): b10b212

Upload folder using huggingface_hub

Browse files
checkpoint-85/config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/farm_insects_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": "Fall Armyworms",
13
+ "1": "Western Corn Rootworms",
14
+ "2": "Colorado Potato Beetles",
15
+ "3": "Thrips",
16
+ "4": "Corn Earworms",
17
+ "5": "Cabbage Loopers",
18
+ "6": "Armyworms",
19
+ "7": "Brown Marmorated Stink Bugs",
20
+ "8": "Tomato Hornworms",
21
+ "9": "Citrus Canker",
22
+ "10": "Aphids",
23
+ "11": "Corn Borers",
24
+ "12": "Fruit Flies",
25
+ "13": "Africanized Honey Bees (Killer Bees)",
26
+ "14": "Spider Mites"
27
+ },
28
+ "image_size": 224,
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 3072,
31
+ "label2id": {
32
+ "Africanized Honey Bees (Killer Bees)": 13,
33
+ "Aphids": 10,
34
+ "Armyworms": 6,
35
+ "Brown Marmorated Stink Bugs": 7,
36
+ "Cabbage Loopers": 5,
37
+ "Citrus Canker": 9,
38
+ "Colorado Potato Beetles": 2,
39
+ "Corn Borers": 11,
40
+ "Corn Earworms": 4,
41
+ "Fall Armyworms": 0,
42
+ "Fruit Flies": 12,
43
+ "Spider Mites": 14,
44
+ "Thrips": 3,
45
+ "Tomato Hornworms": 8,
46
+ "Western Corn Rootworms": 1
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-85/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6adf6563a7b1d649bb68bb57b02cc8213804663d2f182b1607d306b54b82dd1
3
+ size 343263964
checkpoint-85/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b72a1ac9a0ee3fab1ef3f63b8be2f9394ca16f1aff2534d3457f753da60b9ce
3
+ size 686648325
checkpoint-85/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-85/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a962d2698bd39962c8081eb16cb405ef08981e3dec64bff0b7ddd34315f6f65f
3
+ size 14575
checkpoint-85/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc75134c81697031ac1f6ffe2f59f905f6f17c84d58b876e9fb337af942c4ae7
3
+ size 627
checkpoint-85/trainer_state.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.1056499481201172,
3
+ "best_model_checkpoint": "farm_insects_image_detection/checkpoint-85",
4
+ "epoch": 5.0,
5
+ "eval_steps": 500,
6
+ "global_step": 85,
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.9117647058823529,
14
+ "eval_loss": 1.1184488534927368,
15
+ "eval_runtime": 17.5734,
16
+ "eval_samples_per_second": 40.63,
17
+ "eval_steps_per_second": 1.309,
18
+ "step": 17
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.9117647058823529,
23
+ "eval_loss": 1.1160705089569092,
24
+ "eval_runtime": 17.4845,
25
+ "eval_samples_per_second": 40.836,
26
+ "eval_steps_per_second": 1.315,
27
+ "step": 34
28
+ },
29
+ {
30
+ "epoch": 3.0,
31
+ "eval_accuracy": 0.9103641456582633,
32
+ "eval_loss": 1.1120682954788208,
33
+ "eval_runtime": 17.4291,
34
+ "eval_samples_per_second": 40.966,
35
+ "eval_steps_per_second": 1.32,
36
+ "step": 51
37
+ },
38
+ {
39
+ "epoch": 4.0,
40
+ "eval_accuracy": 0.9103641456582633,
41
+ "eval_loss": 1.1067917346954346,
42
+ "eval_runtime": 17.4728,
43
+ "eval_samples_per_second": 40.863,
44
+ "eval_steps_per_second": 1.316,
45
+ "step": 68
46
+ },
47
+ {
48
+ "epoch": 5.0,
49
+ "eval_accuracy": 0.9089635854341737,
50
+ "eval_loss": 1.1056499481201172,
51
+ "eval_runtime": 17.4801,
52
+ "eval_samples_per_second": 40.847,
53
+ "eval_steps_per_second": 1.316,
54
+ "step": 85
55
+ }
56
+ ],
57
+ "logging_steps": 500,
58
+ "max_steps": 85,
59
+ "num_input_tokens_seen": 0,
60
+ "num_train_epochs": 5,
61
+ "save_steps": 500,
62
+ "total_flos": 4.1501795452314624e+17,
63
+ "train_batch_size": 64,
64
+ "trial_name": null,
65
+ "trial_params": null
66
+ }
checkpoint-85/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff28d4f001ca94284d2bd6b580fa8e0a630c670da25ae72ed6ffc3dccde5b954
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.34.0"
58
  }
 
1
  {
2
+ "_name_or_path": "dima806/farm_insects_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 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6adf6563a7b1d649bb68bb57b02cc8213804663d2f182b1607d306b54b82dd1
3
+ size 343263964
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d5f1a61fb720107539cb65b6c87efac782d07239f8650cd61ca8108e1011727d
3
- size 4027
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff28d4f001ca94284d2bd6b580fa8e0a630c670da25ae72ed6ffc3dccde5b954
3
+ size 4411