dima806 commited on
Commit
07ce39d
1 Parent(s): 746b20d

Upload folder using huggingface_hub

Browse files
checkpoint-3750/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
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": "Arborio",
13
+ "1": "Jasmine",
14
+ "2": "Ipsala",
15
+ "3": "Karacadag",
16
+ "4": "Basmati"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "Arborio": 0,
23
+ "Basmati": 4,
24
+ "Ipsala": 2,
25
+ "Jasmine": 1,
26
+ "Karacadag": 3
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "model_type": "vit",
30
+ "num_attention_heads": 12,
31
+ "num_channels": 3,
32
+ "num_hidden_layers": 12,
33
+ "patch_size": 16,
34
+ "problem_type": "single_label_classification",
35
+ "qkv_bias": true,
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.30.2"
38
+ }
checkpoint-3750/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41b191866e382d8ad0a95897c7fe294be1f89ad0cf8422f7e58670a8cb8b77e2
3
+ size 686537349
checkpoint-3750/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-3750/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb815e15547aefd69b8f45c825ee42bcef349830eaefad25b58ab66d1eda83fd
3
+ size 343277933
checkpoint-3750/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdc73828bfdc91fbca8316e819a9a27cc25292e801de81551d9c50f7e33b15c7
3
+ size 14575
checkpoint-3750/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07b1a1e8f3e7421a9e6ea897d130f4c3143c046f573f471153baf5908135f440
3
+ size 627
checkpoint-3750/trainer_state.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.020516514778137207,
3
+ "best_model_checkpoint": "rice_type_detection/checkpoint-3750",
4
+ "epoch": 2.0,
5
+ "global_step": 3750,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.27,
12
+ "learning_rate": 8.783783783783785e-06,
13
+ "loss": 0.3784,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.53,
18
+ "learning_rate": 7.4324324324324324e-06,
19
+ "loss": 0.0669,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.8,
24
+ "learning_rate": 6.081081081081082e-06,
25
+ "loss": 0.0466,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 1.0,
30
+ "eval_accuracy": 0.9982,
31
+ "eval_loss": 0.034870732575654984,
32
+ "eval_runtime": 186.3136,
33
+ "eval_samples_per_second": 80.509,
34
+ "eval_steps_per_second": 20.127,
35
+ "step": 1875
36
+ },
37
+ {
38
+ "epoch": 1.07,
39
+ "learning_rate": 4.72972972972973e-06,
40
+ "loss": 0.0354,
41
+ "step": 2000
42
+ },
43
+ {
44
+ "epoch": 1.33,
45
+ "learning_rate": 3.3783783783783788e-06,
46
+ "loss": 0.0296,
47
+ "step": 2500
48
+ },
49
+ {
50
+ "epoch": 1.6,
51
+ "learning_rate": 2.0270270270270273e-06,
52
+ "loss": 0.0236,
53
+ "step": 3000
54
+ },
55
+ {
56
+ "epoch": 1.87,
57
+ "learning_rate": 6.756756756756758e-07,
58
+ "loss": 0.0208,
59
+ "step": 3500
60
+ },
61
+ {
62
+ "epoch": 2.0,
63
+ "eval_accuracy": 0.9993333333333333,
64
+ "eval_loss": 0.020516514778137207,
65
+ "eval_runtime": 181.6139,
66
+ "eval_samples_per_second": 82.593,
67
+ "eval_steps_per_second": 20.648,
68
+ "step": 3750
69
+ }
70
+ ],
71
+ "max_steps": 3750,
72
+ "num_train_epochs": 2,
73
+ "total_flos": 9.29928878678016e+18,
74
+ "trial_name": null,
75
+ "trial_params": null
76
+ }
checkpoint-3750/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13e3552c3940c1b6b4940270a3dec069fec3f011bae5fae8bda43e625497a8ce
3
+ size 3899
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
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": "Arborio",
13
+ "1": "Jasmine",
14
+ "2": "Ipsala",
15
+ "3": "Karacadag",
16
+ "4": "Basmati"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "Arborio": 0,
23
+ "Basmati": 4,
24
+ "Ipsala": 2,
25
+ "Jasmine": 1,
26
+ "Karacadag": 3
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "model_type": "vit",
30
+ "num_attention_heads": 12,
31
+ "num_channels": 3,
32
+ "num_hidden_layers": 12,
33
+ "patch_size": 16,
34
+ "problem_type": "single_label_classification",
35
+ "qkv_bias": true,
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.30.2"
38
+ }
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
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb815e15547aefd69b8f45c825ee42bcef349830eaefad25b58ab66d1eda83fd
3
+ size 343277933
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13e3552c3940c1b6b4940270a3dec069fec3f011bae5fae8bda43e625497a8ce
3
+ size 3899