stupidog04 commited on
Commit
d74b0d7
1 Parent(s): 78de3b0

commit files to HF hub

Browse files
.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

  • SHA256: 862781c6b089aae81674dc64cbd45fb62480485f6c5033529a44bda63abf78f3
  • Pointer size: 130 Bytes
  • Size of remote file: 18.4 kB
images/chk1_pass.jpg ADDED

Git LFS Details

  • SHA256: 856006833d0eabdec99eb1908b67967602f79b97312ebedd43ab5810d3ce9fe6
  • Pointer size: 130 Bytes
  • Size of remote file: 11.8 kB
images/chk2_fail.jpg ADDED

Git LFS Details

  • SHA256: d39b94c3e3340e9c996ee3bd1407a9e0aed9edcf6d18d19cff6f9215ec4c426c
  • Pointer size: 130 Bytes
  • Size of remote file: 17.1 kB
images/chk2_pass.jpg ADDED

Git LFS Details

  • SHA256: b6c27c3b47f20a208b413bc360d470ff55f1c24040e1521f0ac3bd45d4c81031
  • Pointer size: 130 Bytes
  • Size of remote file: 12.1 kB
images/chk3_fail.jpg ADDED

Git LFS Details

  • SHA256: 139b2650f895f0f39c22d9d9ef487d474150af9b2f86f1956d556131462b7066
  • Pointer size: 130 Bytes
  • Size of remote file: 12.8 kB
images/chk3_pass.jpg ADDED

Git LFS Details

  • SHA256: 330582021dda4f7efa72b8141a877d03cc1fa1f919cf3dbc4175598de37da9a0
  • Pointer size: 130 Bytes
  • Size of remote file: 12.9 kB
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