stupidog04
commited on
Commit
•
d74b0d7
1
Parent(s):
78de3b0
commit files to HF hub
Browse files- .gitattributes +6 -0
- README.md +56 -0
- config.json +40 -0
- images/chk1_fail.jpg +3 -0
- images/chk1_pass.jpg +3 -0
- images/chk2_fail.jpg +3 -0
- images/chk2_pass.jpg +3 -0
- images/chk3_fail.jpg +3 -0
- images/chk3_pass.jpg +3 -0
- preprocessor_config.json +17 -0
- pytorch_model.bin +3 -0
.gitattributes
CHANGED
@@ -31,3 +31,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
31 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
32 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
33 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
32 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
33 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
34 |
+
images/chk1_fail.jpg filter=lfs diff=lfs merge=lfs -text
|
35 |
+
images/chk1_pass.jpg filter=lfs diff=lfs merge=lfs -text
|
36 |
+
images/chk2_fail.jpg filter=lfs diff=lfs merge=lfs -text
|
37 |
+
images/chk2_pass.jpg filter=lfs diff=lfs merge=lfs -text
|
38 |
+
images/chk3_fail.jpg filter=lfs diff=lfs merge=lfs -text
|
39 |
+
images/chk3_pass.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- image-classification
|
4 |
+
- pytorch
|
5 |
+
- huggingpics
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
|
9 |
+
model-index:
|
10 |
+
- name: krenzcolor_chkpt_classifier
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Image Classification
|
14 |
+
type: image-classification
|
15 |
+
metrics:
|
16 |
+
- name: Accuracy
|
17 |
+
type: accuracy
|
18 |
+
value: 0.6428571428571429
|
19 |
+
---
|
20 |
+
|
21 |
+
# krenzcolor_chkpt_classifier
|
22 |
+
|
23 |
+
|
24 |
+
Autogenerated by HuggingPics🤗🖼️
|
25 |
+
|
26 |
+
Create your own image classifier for **anything** by running [the demo on Google Colab](https://colab.research.google.com/github/nateraw/huggingpics/blob/main/HuggingPics.ipynb).
|
27 |
+
|
28 |
+
Report any issues with the demo at the [github repo](https://github.com/nateraw/huggingpics).
|
29 |
+
|
30 |
+
|
31 |
+
## Example Images
|
32 |
+
|
33 |
+
|
34 |
+
#### chk1_fail
|
35 |
+
|
36 |
+
![chk1_fail](images/chk1_fail.jpg)
|
37 |
+
|
38 |
+
#### chk1_pass
|
39 |
+
|
40 |
+
![chk1_pass](images/chk1_pass.jpg)
|
41 |
+
|
42 |
+
#### chk2_fail
|
43 |
+
|
44 |
+
![chk2_fail](images/chk2_fail.jpg)
|
45 |
+
|
46 |
+
#### chk2_pass
|
47 |
+
|
48 |
+
![chk2_pass](images/chk2_pass.jpg)
|
49 |
+
|
50 |
+
#### chk3_fail
|
51 |
+
|
52 |
+
![chk3_fail](images/chk3_fail.jpg)
|
53 |
+
|
54 |
+
#### chk3_pass
|
55 |
+
|
56 |
+
![chk3_pass](images/chk3_pass.jpg)
|
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "chk1_fail",
|
13 |
+
"1": "chk1_pass",
|
14 |
+
"2": "chk2_fail",
|
15 |
+
"3": "chk2_pass",
|
16 |
+
"4": "chk3_fail",
|
17 |
+
"5": "chk3_pass"
|
18 |
+
},
|
19 |
+
"image_size": 224,
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"intermediate_size": 3072,
|
22 |
+
"label2id": {
|
23 |
+
"chk1_fail": "0",
|
24 |
+
"chk1_pass": "1",
|
25 |
+
"chk2_fail": "2",
|
26 |
+
"chk2_pass": "3",
|
27 |
+
"chk3_fail": "4",
|
28 |
+
"chk3_pass": "5"
|
29 |
+
},
|
30 |
+
"layer_norm_eps": 1e-12,
|
31 |
+
"model_type": "vit",
|
32 |
+
"num_attention_heads": 12,
|
33 |
+
"num_channels": 3,
|
34 |
+
"num_hidden_layers": 12,
|
35 |
+
"patch_size": 16,
|
36 |
+
"problem_type": "single_label_classification",
|
37 |
+
"qkv_bias": true,
|
38 |
+
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.21.3"
|
40 |
+
}
|
images/chk1_fail.jpg
ADDED
Git LFS Details
|
images/chk1_pass.jpg
ADDED
Git LFS Details
|
images/chk2_fail.jpg
ADDED
Git LFS Details
|
images/chk2_pass.jpg
ADDED
Git LFS Details
|
images/chk3_fail.jpg
ADDED
Git LFS Details
|
images/chk3_pass.jpg
ADDED
Git LFS Details
|
preprocessor_config.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_resize": true,
|
4 |
+
"feature_extractor_type": "ViTFeatureExtractor",
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_std": [
|
11 |
+
0.5,
|
12 |
+
0.5,
|
13 |
+
0.5
|
14 |
+
],
|
15 |
+
"resample": 2,
|
16 |
+
"size": 224
|
17 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:52bdeafaff3b6f4d2d0f220e3caf9ab6ab598df089ef068aac85b1c400c62d8e
|
3 |
+
size 343279281
|