add model
Browse files- .gitignore +1 -0
- README.md +70 -0
- all_results.json +12 -0
- config.json +1 -0
- eval_results.json +8 -0
- pytorch_model.bin +3 -0
- runs/Sep03_18-55-15_Nates-MBP/1630716922.431792/events.out.tfevents.1630716922.Nates-MBP.93956.1 +3 -0
- runs/Sep03_18-55-15_Nates-MBP/events.out.tfevents.1630716922.Nates-MBP.93956.0 +3 -0
- runs/Sep03_18-55-15_Nates-MBP/events.out.tfevents.1630716945.Nates-MBP.93956.2 +3 -0
- train_results.json +7 -0
- trainer_state.json +25 -0
- training_args.bin +3 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- image-classification
|
4 |
+
- timm
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- beans
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model_index:
|
11 |
+
- name: timm-resnet18-beans-test
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Image Classification
|
15 |
+
type: image-classification
|
16 |
+
dataset:
|
17 |
+
name: beans
|
18 |
+
type: beans
|
19 |
+
args: default
|
20 |
+
metric:
|
21 |
+
name: Accuracy
|
22 |
+
type: accuracy
|
23 |
+
value: 0.3609022556390977
|
24 |
+
---
|
25 |
+
|
26 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
27 |
+
should probably proofread and complete it, then remove this comment. -->
|
28 |
+
|
29 |
+
# timm-resnet18-beans-test
|
30 |
+
|
31 |
+
This model is a fine-tuned version of [resnet18](https://huggingface.co/resnet18) on the beans dataset.
|
32 |
+
It achieves the following results on the evaluation set:
|
33 |
+
- Loss: 1.2126
|
34 |
+
- Accuracy: 0.3609
|
35 |
+
|
36 |
+
## Model description
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Intended uses & limitations
|
41 |
+
|
42 |
+
More information needed
|
43 |
+
|
44 |
+
## Training and evaluation data
|
45 |
+
|
46 |
+
More information needed
|
47 |
+
|
48 |
+
## Training procedure
|
49 |
+
|
50 |
+
### Training hyperparameters
|
51 |
+
|
52 |
+
The following hyperparameters were used during training:
|
53 |
+
- learning_rate: 5e-05
|
54 |
+
- train_batch_size: 8
|
55 |
+
- eval_batch_size: 8
|
56 |
+
- seed: 42
|
57 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
58 |
+
- lr_scheduler_type: linear
|
59 |
+
- training_steps: 10
|
60 |
+
|
61 |
+
### Training results
|
62 |
+
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.9.1
|
68 |
+
- Pytorch 1.9.0
|
69 |
+
- Datasets 1.11.1.dev0
|
70 |
+
- Tokenizers 0.10.3
|
all_results.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.08,
|
3 |
+
"eval_accuracy": 0.3609022556390977,
|
4 |
+
"eval_loss": 1.2125978469848633,
|
5 |
+
"eval_runtime": 7.8732,
|
6 |
+
"eval_samples_per_second": 16.893,
|
7 |
+
"eval_steps_per_second": 2.159,
|
8 |
+
"train_loss": 1.1646986961364747,
|
9 |
+
"train_runtime": 15.1084,
|
10 |
+
"train_samples_per_second": 5.295,
|
11 |
+
"train_steps_per_second": 0.662
|
12 |
+
}
|
config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"url": "https://download.pytorch.org/models/resnet18-5c106cde.pth", "num_classes": 1000, "input_size": [3, 224, 224], "pool_size": [7, 7], "crop_pct": 0.875, "interpolation": "bilinear", "mean": [0.485, 0.456, 0.406], "std": [0.229, 0.224, 0.225], "first_conv": "conv1", "classifier": "fc", "architecture": "resnet18"}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.08,
|
3 |
+
"eval_accuracy": 0.3609022556390977,
|
4 |
+
"eval_loss": 1.2125978469848633,
|
5 |
+
"eval_runtime": 7.8732,
|
6 |
+
"eval_samples_per_second": 16.893,
|
7 |
+
"eval_steps_per_second": 2.159
|
8 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb8f06a34e4c213d55567c6d3ad86690b93356a0c453852a76e2b5f3650d1c27
|
3 |
+
size 44788877
|
runs/Sep03_18-55-15_Nates-MBP/1630716922.431792/events.out.tfevents.1630716922.Nates-MBP.93956.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a2d88380ebb3cd72c9c32035fb20ffe516c240ae5ed94ab27700c7dc4310b4d7
|
3 |
+
size 4227
|
runs/Sep03_18-55-15_Nates-MBP/events.out.tfevents.1630716922.Nates-MBP.93956.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8526da2f76b5fb5d118b206b04563d15b1a44f5591d9448e32132825a9bc8c67
|
3 |
+
size 2619
|
runs/Sep03_18-55-15_Nates-MBP/events.out.tfevents.1630716945.Nates-MBP.93956.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0a7dee4b1506302cfdc3cf9c75daba8255795f164102075ec49d890b5ae0a67a
|
3 |
+
size 357
|
train_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.08,
|
3 |
+
"train_loss": 1.1646986961364747,
|
4 |
+
"train_runtime": 15.1084,
|
5 |
+
"train_samples_per_second": 5.295,
|
6 |
+
"train_steps_per_second": 0.662
|
7 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.07692307692307693,
|
5 |
+
"global_step": 10,
|
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.08,
|
12 |
+
"step": 10,
|
13 |
+
"total_flos": 0.0,
|
14 |
+
"train_loss": 1.1646986961364747,
|
15 |
+
"train_runtime": 15.1084,
|
16 |
+
"train_samples_per_second": 5.295,
|
17 |
+
"train_steps_per_second": 0.662
|
18 |
+
}
|
19 |
+
],
|
20 |
+
"max_steps": 10,
|
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:321292afa7b1bd7a6bb9455bcf01eb0992d478cc2b25fffb50f1747789b59e03
|
3 |
+
size 2671
|