nateraw commited on
Commit
d579246
1 Parent(s): 5d9fad7
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - timm
5
+ - generated_from_trainer
6
+ datasets:
7
+ - beans
8
+ model-index:
9
+ - name: model
10
+ results:
11
+ - task:
12
+ name: Image Classification
13
+ type: image-classification
14
+ dataset:
15
+ name: beans
16
+ type: beans
17
+ args: default
18
+ library_tag: timm
19
+ ---
20
+
21
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
22
+ should probably proofread and complete it, then remove this comment. -->
23
+
24
+ # model
25
+
26
+ This model is a fine-tuned version of [resnet18](https://huggingface.co/resnet18) on the beans dataset.
27
+ It achieves the following results on the evaluation set:
28
+ - Loss: 1.0219
29
+ - Acc1: 56.3910
30
+ - Acc5: 100.0
31
+
32
+ ## Model description
33
+
34
+ More information needed
35
+
36
+ ## Intended uses & limitations
37
+
38
+ More information needed
39
+
40
+ ## Training and evaluation data
41
+
42
+ More information needed
43
+
44
+ ## Training procedure
45
+
46
+ ### Training hyperparameters
47
+
48
+ The following hyperparameters were used during training:
49
+ - learning_rate: 5e-05
50
+ - train_batch_size: 8
51
+ - eval_batch_size: 8
52
+ - seed: 42
53
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
54
+ - lr_scheduler_type: linear
55
+ - training_steps: 20
56
+
57
+ ### Training results
58
+
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.10.2
64
+ - Pytorch 1.7.1
65
+ - Datasets 1.12.1
66
+ - Tokenizers 0.10.3
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.15,
3
+ "eval_acc1": 56.39097595214844,
4
+ "eval_acc5": 100.0,
5
+ "eval_loss": 1.0218992233276367,
6
+ "eval_runtime": 1.7151,
7
+ "eval_samples_per_second": 77.547,
8
+ "eval_steps_per_second": 9.912,
9
+ "train_loss": 1.065065288543701,
10
+ "train_runtime": 13.903,
11
+ "train_samples_per_second": 11.508,
12
+ "train_steps_per_second": 1.439
13
+ }
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "url": "https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-weights/resnet50_ram-a26f946b.pth",
3
+ "num_classes": 3,
4
+ "input_size": [
5
+ 3,
6
+ 224,
7
+ 224
8
+ ],
9
+ "pool_size": [
10
+ 7,
11
+ 7
12
+ ],
13
+ "crop_pct": 0.875,
14
+ "interpolation": "bicubic",
15
+ "mean": [
16
+ 0.485,
17
+ 0.456,
18
+ 0.406
19
+ ],
20
+ "std": [
21
+ 0.229,
22
+ 0.224,
23
+ 0.225
24
+ ],
25
+ "first_conv": "conv1",
26
+ "classifier": "fc",
27
+ "architecture": "resnet50",
28
+ "num_features": 2048,
29
+ "labels": [
30
+ "angular_leaf_spot",
31
+ "bean_rust",
32
+ "healthy"
33
+ ]
34
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.15,
3
+ "eval_acc1": 56.39097595214844,
4
+ "eval_acc5": 100.0,
5
+ "eval_loss": 1.0218992233276367,
6
+ "eval_runtime": 1.7151,
7
+ "eval_samples_per_second": 77.547,
8
+ "eval_steps_per_second": 9.912
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acddeaca9f35f55a52064fd17279fcac6391bafca96cc8ae043720d88b9fd251
3
+ size 94382383
runs/Sep22_18-01-19_algo-1/1632333697.7695239/events.out.tfevents.1632333697.algo-1.56.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b82184bd826aee8806cc7d925085de3282b8f3836967e3ab0c0fdee2b5e2e6d8
3
+ size 4197
runs/Sep22_18-01-19_algo-1/events.out.tfevents.1632333697.algo-1.56.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f25eb38951c6450aa6135dbb8d32a116116c9b11a9557aaf3debfc6189060b6
3
+ size 2589
runs/Sep22_18-01-19_algo-1/events.out.tfevents.1632333713.algo-1.56.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fb0ea089020e7a059d1f52bd71fddb421b3ebef0f7dbd14457cc4cc21c5e4ec
3
+ size 400
train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.15,
3
+ "train_loss": 1.065065288543701,
4
+ "train_runtime": 13.903,
5
+ "train_samples_per_second": 11.508,
6
+ "train_steps_per_second": 1.439
7
+ }
trainer_state.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.15384615384615385,
5
+ "global_step": 20,
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.15,
12
+ "step": 20,
13
+ "total_flos": 0.0,
14
+ "train_loss": 1.065065288543701,
15
+ "train_runtime": 13.903,
16
+ "train_samples_per_second": 11.508,
17
+ "train_steps_per_second": 1.439
18
+ }
19
+ ],
20
+ "max_steps": 20,
21
+ "num_train_epochs": 1,
22
+ "total_flos": 0.0,
23
+ "trial_name": null,
24
+ "trial_params": null
25
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0c66f6265c2cbe00d5c5b1a4d07b06cbd846a8718972a7515385c6eec07def2
3
+ size 2671