Ghiffari4869
commited on
Commit
•
5e74874
1
Parent(s):
0ace064
End of training
Browse files- README.md +90 -9
- config.json +4 -2
- model.safetensors +2 -2
- runs/Mar20_03-40-34_6c06243f1a4f/events.out.tfevents.1710906092.6c06243f1a4f.3928.0 +3 -0
- runs/Mar20_03-40-34_6c06243f1a4f/events.out.tfevents.1710906336.6c06243f1a4f.3928.1 +3 -0
- runs/Mar20_03-40-34_6c06243f1a4f/events.out.tfevents.1710906479.6c06243f1a4f.3928.2 +3 -0
- runs/Mar20_03-48-12_6c06243f1a4f/events.out.tfevents.1710906495.6c06243f1a4f.3928.3 +3 -0
- runs/Mar20_03-52-39_6c06243f1a4f/events.out.tfevents.1710906766.6c06243f1a4f.3928.4 +3 -0
- runs/Mar20_03-53-12_6c06243f1a4f/events.out.tfevents.1710906793.6c06243f1a4f.3928.5 +3 -0
- runs/Mar20_03-53-12_6c06243f1a4f/events.out.tfevents.1710907455.6c06243f1a4f.3928.6 +3 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,13 +1,94 @@
|
|
1 |
---
|
2 |
-
license:
|
|
|
|
|
|
|
3 |
datasets:
|
4 |
-
-
|
5 |
-
language:
|
6 |
-
- en
|
7 |
metrics:
|
8 |
- accuracy
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
-
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224-in21k
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
datasets:
|
7 |
+
- imagefolder
|
|
|
|
|
8 |
metrics:
|
9 |
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: pipe-failure_classification
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Image Classification
|
15 |
+
type: image-classification
|
16 |
+
dataset:
|
17 |
+
name: imagefolder
|
18 |
+
type: imagefolder
|
19 |
+
config: default
|
20 |
+
split: train
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 1.0
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# pipe-failure_classification
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.0255
|
36 |
+
- Accuracy: 1.0
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 5e-05
|
56 |
+
- train_batch_size: 16
|
57 |
+
- eval_batch_size: 16
|
58 |
+
- seed: 42
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- num_epochs: 20
|
62 |
+
|
63 |
+
### Training results
|
64 |
+
|
65 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
66 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
67 |
+
| No log | 1.0 | 15 | 0.0516 | 0.9867 |
|
68 |
+
| No log | 2.0 | 30 | 0.0441 | 0.9867 |
|
69 |
+
| No log | 3.0 | 45 | 0.0497 | 0.9733 |
|
70 |
+
| No log | 4.0 | 60 | 0.0464 | 0.9867 |
|
71 |
+
| No log | 5.0 | 75 | 0.0677 | 0.9867 |
|
72 |
+
| No log | 6.0 | 90 | 0.0208 | 1.0 |
|
73 |
+
| No log | 7.0 | 105 | 0.0183 | 1.0 |
|
74 |
+
| No log | 8.0 | 120 | 0.0943 | 0.9733 |
|
75 |
+
| No log | 9.0 | 135 | 0.0216 | 1.0 |
|
76 |
+
| No log | 10.0 | 150 | 0.0148 | 1.0 |
|
77 |
+
| No log | 11.0 | 165 | 0.0144 | 1.0 |
|
78 |
+
| No log | 12.0 | 180 | 0.0188 | 1.0 |
|
79 |
+
| No log | 13.0 | 195 | 0.0602 | 0.9867 |
|
80 |
+
| No log | 14.0 | 210 | 0.0882 | 0.9733 |
|
81 |
+
| No log | 15.0 | 225 | 0.0314 | 0.9867 |
|
82 |
+
| No log | 16.0 | 240 | 0.0127 | 1.0 |
|
83 |
+
| No log | 17.0 | 255 | 0.0119 | 1.0 |
|
84 |
+
| No log | 18.0 | 270 | 0.0117 | 1.0 |
|
85 |
+
| No log | 19.0 | 285 | 0.0114 | 1.0 |
|
86 |
+
| No log | 20.0 | 300 | 0.0131 | 1.0 |
|
87 |
+
|
88 |
+
|
89 |
+
### Framework versions
|
90 |
+
|
91 |
+
- Transformers 4.38.2
|
92 |
+
- Pytorch 2.2.1+cu121
|
93 |
+
- Datasets 2.18.0
|
94 |
+
- Tokenizers 0.15.2
|
config.json
CHANGED
@@ -10,14 +10,16 @@
|
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
"0": "burst",
|
13 |
-
"1": "
|
|
|
14 |
},
|
15 |
"image_size": 224,
|
16 |
"initializer_range": 0.02,
|
17 |
"intermediate_size": 3072,
|
18 |
"label2id": {
|
19 |
"burst": "0",
|
20 |
-
"
|
|
|
21 |
},
|
22 |
"layer_norm_eps": 1e-12,
|
23 |
"model_type": "vit",
|
|
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
"0": "burst",
|
13 |
+
"1": "rust",
|
14 |
+
"2": "weld defect"
|
15 |
},
|
16 |
"image_size": 224,
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 3072,
|
19 |
"label2id": {
|
20 |
"burst": "0",
|
21 |
+
"rust": "1",
|
22 |
+
"weld defect": "2"
|
23 |
},
|
24 |
"layer_norm_eps": 1e-12,
|
25 |
"model_type": "vit",
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:69a0b53a23d0b2fa26920b52c1dc3b2ea79fe4788ecc58f60866e6181a0d2687
|
3 |
+
size 343227052
|
runs/Mar20_03-40-34_6c06243f1a4f/events.out.tfevents.1710906092.6c06243f1a4f.3928.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:641f7f94f1653b39c4075a26bcab3b99233d220dc5ee8452847f72dfb075026e
|
3 |
+
size 9806
|
runs/Mar20_03-40-34_6c06243f1a4f/events.out.tfevents.1710906336.6c06243f1a4f.3928.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:36093bb938905988c11bf8fe020046e71c9cb1a36444c7103f242b376e29c737
|
3 |
+
size 411
|
runs/Mar20_03-40-34_6c06243f1a4f/events.out.tfevents.1710906479.6c06243f1a4f.3928.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fd64e2ce3b303df6aa9ed0f0b5f5f92cf6890f4b34bb6e2286b9b8cfdb283091
|
3 |
+
size 4749
|
runs/Mar20_03-48-12_6c06243f1a4f/events.out.tfevents.1710906495.6c06243f1a4f.3928.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cf49b494f328c743eb6cc23f5409bc3e6cb5d651c44c255745ce494ffedebcc0
|
3 |
+
size 9901
|
runs/Mar20_03-52-39_6c06243f1a4f/events.out.tfevents.1710906766.6c06243f1a4f.3928.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7c015e65dcdc52ea217181f816e500bf9e42e1102350063c339396fc3205bf69
|
3 |
+
size 5066
|
runs/Mar20_03-53-12_6c06243f1a4f/events.out.tfevents.1710906793.6c06243f1a4f.3928.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ffe7b7c0b62e2e10a3d2d6098a2649ff83dc93415073314a47c40438cc63abb2
|
3 |
+
size 11516
|
runs/Mar20_03-53-12_6c06243f1a4f/events.out.tfevents.1710907455.6c06243f1a4f.3928.6
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f8a783d130aacb8d3af43517a8b7f043d4f1a24fb49f3e4e2654cf97a39a84bf
|
3 |
+
size 411
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4920
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:34e23c754dfab02556990a176aa2ff8944cf8bcbf648432f7b21d48d7a3a4c25
|
3 |
size 4920
|