Commit
·
fb03593
1
Parent(s):
c719fe9
commit files to HF hub
Browse files- .gitattributes +27 -0
- README.md +140 -0
- config.json +83 -0
- images/1._Frosted.jpg +3 -0
- images/10._Chocoramel.jpg +3 -0
- images/11._BerryCocoa.jpg +3 -0
- images/12._Coffee_Brulee.jpg +3 -0
- images/13._Creme_Brulee.jpg +3 -0
- images/14._Cheesy_Granola.jpg +3 -0
- images/15._The_Cheese_Royale.jpg +3 -0
- images/16._Berry_Cheesy.jpg +3 -0
- images/17._Matcha_on_Cloud.jpg +3 -0
- images/18._Ayam_Kaleo_Donat.jpg +3 -0
- images/19._Sloppy_Joe.jpg +3 -0
- images/2._Nuttin_but_Pistachio.jpg +3 -0
- images/20._Choco_Hazelnut.jpg +3 -0
- images/21._Pistachio_Dreamin.jpg +3 -0
- images/22._Berry_Matcha.jpg +3 -0
- images/23._PB_&_J.jpg +3 -0
- images/24._Belgian_Choco.jpg +3 -0
- images/25._Ayam_Pop_Donut.jpg +3 -0
- images/26._Tiramisu_Temptation.jpg +3 -0
- images/27._Butterscotch_Than_Never.jpg +3 -0
- images/3._Cheescake.jpg +3 -0
- images/4._Burnt_Cheese_Ring.jpg +3 -0
- images/5._Oreoverload.jpg +3 -0
- images/6._Peanut_Butter_Chocolate.jpg +3 -0
- images/7._Signature_Chocolate.jpg +3 -0
- images/8._Caramel_Almond.jpg +3 -0
- images/9._Crunch_Me_Matcha.jpg +3 -0
- model.safetensors +3 -0
- preprocessor_config.json +23 -0
- runs/events.out.tfevents.1764908327.7cc616b7683d.833.0 +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,30 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
images/1._Frosted.jpg filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
images/10._Chocoramel.jpg filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
images/11._BerryCocoa.jpg filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
images/12._Coffee_Brulee.jpg filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
images/13._Creme_Brulee.jpg filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
images/14._Cheesy_Granola.jpg filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
images/15._The_Cheese_Royale.jpg filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
images/16._Berry_Cheesy.jpg filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
images/17._Matcha_on_Cloud.jpg filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
images/18._Ayam_Kaleo_Donat.jpg filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
images/19._Sloppy_Joe.jpg filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
images/2._Nuttin_but_Pistachio.jpg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
images/20._Choco_Hazelnut.jpg filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
images/21._Pistachio_Dreamin.jpg filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
images/22._Berry_Matcha.jpg filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
images/23._PB_&_J.jpg filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
images/24._Belgian_Choco.jpg filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
images/25._Ayam_Pop_Donut.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
images/26._Tiramisu_Temptation.jpg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
images/27._Butterscotch_Than_Never.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
images/3._Cheescake.jpg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
images/4._Burnt_Cheese_Ring.jpg filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
images/5._Oreoverload.jpg filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
images/6._Peanut_Butter_Chocolate.jpg filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
images/7._Signature_Chocolate.jpg filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
images/8._Caramel_Almond.jpg filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
images/9._Crunch_Me_Matcha.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- image-classification
|
| 4 |
+
- pytorch
|
| 5 |
+
- huggingpics
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
|
| 9 |
+
model-index:
|
| 10 |
+
- name: donut_fore2
|
| 11 |
+
results:
|
| 12 |
+
- task:
|
| 13 |
+
name: Image Classification
|
| 14 |
+
type: image-classification
|
| 15 |
+
metrics:
|
| 16 |
+
- name: Accuracy
|
| 17 |
+
type: accuracy
|
| 18 |
+
value: 0.9960784316062927
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# donut_fore2
|
| 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 |
+
#### 1. Frosted
|
| 35 |
+
|
| 36 |
+

|
| 37 |
+
|
| 38 |
+
#### 10. Chocoramel
|
| 39 |
+
|
| 40 |
+

|
| 41 |
+
|
| 42 |
+
#### 11. BerryCocoa
|
| 43 |
+
|
| 44 |
+

|
| 45 |
+
|
| 46 |
+
#### 12. Coffee Brulee
|
| 47 |
+
|
| 48 |
+

|
| 49 |
+
|
| 50 |
+
#### 13. Creme Brulee
|
| 51 |
+
|
| 52 |
+

|
| 53 |
+
|
| 54 |
+
#### 14. Cheesy Granola
|
| 55 |
+
|
| 56 |
+

|
| 57 |
+
|
| 58 |
+
#### 15. The Cheese Royale
|
| 59 |
+
|
| 60 |
+

|
| 61 |
+
|
| 62 |
+
#### 16. Berry Cheesy
|
| 63 |
+
|
| 64 |
+

|
| 65 |
+
|
| 66 |
+
#### 17. Matcha on Cloud
|
| 67 |
+
|
| 68 |
+

|
| 69 |
+
|
| 70 |
+
#### 18. Ayam Kaleo Donat
|
| 71 |
+
|
| 72 |
+

|
| 73 |
+
|
| 74 |
+
#### 19. Sloppy Joe
|
| 75 |
+
|
| 76 |
+

|
| 77 |
+
|
| 78 |
+
#### 2. Nuttin but Pistachio
|
| 79 |
+
|
| 80 |
+

|
| 81 |
+
|
| 82 |
+
#### 20. Choco Hazelnut
|
| 83 |
+
|
| 84 |
+

|
| 85 |
+
|
| 86 |
+
#### 21. Pistachio Dreamin
|
| 87 |
+
|
| 88 |
+

|
| 89 |
+
|
| 90 |
+
#### 22. Berry Matcha
|
| 91 |
+
|
| 92 |
+

|
| 93 |
+
|
| 94 |
+
#### 23. PB & J
|
| 95 |
+
|
| 96 |
+

|
| 97 |
+
|
| 98 |
+
#### 24. Belgian Choco
|
| 99 |
+
|
| 100 |
+

|
| 101 |
+
|
| 102 |
+
#### 25. Ayam Pop Donut
|
| 103 |
+
|
| 104 |
+

|
| 105 |
+
|
| 106 |
+
#### 26. Tiramisu Temptation
|
| 107 |
+
|
| 108 |
+

|
| 109 |
+
|
| 110 |
+
#### 27. Butterscotch Than Never
|
| 111 |
+
|
| 112 |
+

|
| 113 |
+
|
| 114 |
+
#### 3. Cheescake
|
| 115 |
+
|
| 116 |
+

|
| 117 |
+
|
| 118 |
+
#### 4. Burnt Cheese Ring
|
| 119 |
+
|
| 120 |
+

|
| 121 |
+
|
| 122 |
+
#### 5. Oreoverload
|
| 123 |
+
|
| 124 |
+

|
| 125 |
+
|
| 126 |
+
#### 6. Peanut Butter Chocolate
|
| 127 |
+
|
| 128 |
+

|
| 129 |
+
|
| 130 |
+
#### 7. Signature Chocolate
|
| 131 |
+
|
| 132 |
+

|
| 133 |
+
|
| 134 |
+
#### 8. Caramel Almond
|
| 135 |
+
|
| 136 |
+

|
| 137 |
+
|
| 138 |
+
#### 9. Crunch Me Matcha
|
| 139 |
+
|
| 140 |
+

|
config.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"ViTForImageClassification"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.0,
|
| 6 |
+
"dtype": "float32",
|
| 7 |
+
"encoder_stride": 16,
|
| 8 |
+
"hidden_act": "gelu",
|
| 9 |
+
"hidden_dropout_prob": 0.0,
|
| 10 |
+
"hidden_size": 768,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "1. Frosted",
|
| 13 |
+
"1": "10. Chocoramel",
|
| 14 |
+
"10": "19. Sloppy Joe",
|
| 15 |
+
"11": "2. Nuttin but Pistachio",
|
| 16 |
+
"12": "20. Choco Hazelnut",
|
| 17 |
+
"13": "21. Pistachio Dreamin",
|
| 18 |
+
"14": "22. Berry Matcha",
|
| 19 |
+
"15": "23. PB & J",
|
| 20 |
+
"16": "24. Belgian Choco",
|
| 21 |
+
"17": "25. Ayam Pop Donut",
|
| 22 |
+
"18": "26. Tiramisu Temptation",
|
| 23 |
+
"19": "27. Butterscotch Than Never",
|
| 24 |
+
"2": "11. BerryCocoa",
|
| 25 |
+
"20": "3. Cheescake",
|
| 26 |
+
"21": "4. Burnt Cheese Ring",
|
| 27 |
+
"22": "5. Oreoverload",
|
| 28 |
+
"23": "6. Peanut Butter Chocolate",
|
| 29 |
+
"24": "7. Signature Chocolate",
|
| 30 |
+
"25": "8. Caramel Almond",
|
| 31 |
+
"26": "9. Crunch Me Matcha",
|
| 32 |
+
"3": "12. Coffee Brulee",
|
| 33 |
+
"4": "13. Creme Brulee",
|
| 34 |
+
"5": "14. Cheesy Granola",
|
| 35 |
+
"6": "15. The Cheese Royale",
|
| 36 |
+
"7": "16. Berry Cheesy",
|
| 37 |
+
"8": "17. Matcha on Cloud",
|
| 38 |
+
"9": "18. Ayam Kaleo Donat"
|
| 39 |
+
},
|
| 40 |
+
"image_size": 224,
|
| 41 |
+
"initializer_range": 0.02,
|
| 42 |
+
"intermediate_size": 3072,
|
| 43 |
+
"label2id": {
|
| 44 |
+
"1. Frosted": "0",
|
| 45 |
+
"10. Chocoramel": "1",
|
| 46 |
+
"11. BerryCocoa": "2",
|
| 47 |
+
"12. Coffee Brulee": "3",
|
| 48 |
+
"13. Creme Brulee": "4",
|
| 49 |
+
"14. Cheesy Granola": "5",
|
| 50 |
+
"15. The Cheese Royale": "6",
|
| 51 |
+
"16. Berry Cheesy": "7",
|
| 52 |
+
"17. Matcha on Cloud": "8",
|
| 53 |
+
"18. Ayam Kaleo Donat": "9",
|
| 54 |
+
"19. Sloppy Joe": "10",
|
| 55 |
+
"2. Nuttin but Pistachio": "11",
|
| 56 |
+
"20. Choco Hazelnut": "12",
|
| 57 |
+
"21. Pistachio Dreamin": "13",
|
| 58 |
+
"22. Berry Matcha": "14",
|
| 59 |
+
"23. PB & J": "15",
|
| 60 |
+
"24. Belgian Choco": "16",
|
| 61 |
+
"25. Ayam Pop Donut": "17",
|
| 62 |
+
"26. Tiramisu Temptation": "18",
|
| 63 |
+
"27. Butterscotch Than Never": "19",
|
| 64 |
+
"3. Cheescake": "20",
|
| 65 |
+
"4. Burnt Cheese Ring": "21",
|
| 66 |
+
"5. Oreoverload": "22",
|
| 67 |
+
"6. Peanut Butter Chocolate": "23",
|
| 68 |
+
"7. Signature Chocolate": "24",
|
| 69 |
+
"8. Caramel Almond": "25",
|
| 70 |
+
"9. Crunch Me Matcha": "26"
|
| 71 |
+
},
|
| 72 |
+
"layer_norm_eps": 1e-12,
|
| 73 |
+
"model_type": "vit",
|
| 74 |
+
"num_attention_heads": 12,
|
| 75 |
+
"num_channels": 3,
|
| 76 |
+
"num_hidden_layers": 12,
|
| 77 |
+
"patch_size": 16,
|
| 78 |
+
"pooler_act": "tanh",
|
| 79 |
+
"pooler_output_size": 768,
|
| 80 |
+
"problem_type": "single_label_classification",
|
| 81 |
+
"qkv_bias": true,
|
| 82 |
+
"transformers_version": "4.57.2"
|
| 83 |
+
}
|
images/1._Frosted.jpg
ADDED
|
Git LFS Details
|
images/10._Chocoramel.jpg
ADDED
|
Git LFS Details
|
images/11._BerryCocoa.jpg
ADDED
|
Git LFS Details
|
images/12._Coffee_Brulee.jpg
ADDED
|
Git LFS Details
|
images/13._Creme_Brulee.jpg
ADDED
|
Git LFS Details
|
images/14._Cheesy_Granola.jpg
ADDED
|
Git LFS Details
|
images/15._The_Cheese_Royale.jpg
ADDED
|
Git LFS Details
|
images/16._Berry_Cheesy.jpg
ADDED
|
Git LFS Details
|
images/17._Matcha_on_Cloud.jpg
ADDED
|
Git LFS Details
|
images/18._Ayam_Kaleo_Donat.jpg
ADDED
|
Git LFS Details
|
images/19._Sloppy_Joe.jpg
ADDED
|
Git LFS Details
|
images/2._Nuttin_but_Pistachio.jpg
ADDED
|
Git LFS Details
|
images/20._Choco_Hazelnut.jpg
ADDED
|
Git LFS Details
|
images/21._Pistachio_Dreamin.jpg
ADDED
|
Git LFS Details
|
images/22._Berry_Matcha.jpg
ADDED
|
Git LFS Details
|
images/23._PB_&_J.jpg
ADDED
|
Git LFS Details
|
images/24._Belgian_Choco.jpg
ADDED
|
Git LFS Details
|
images/25._Ayam_Pop_Donut.jpg
ADDED
|
Git LFS Details
|
images/26._Tiramisu_Temptation.jpg
ADDED
|
Git LFS Details
|
images/27._Butterscotch_Than_Never.jpg
ADDED
|
Git LFS Details
|
images/3._Cheescake.jpg
ADDED
|
Git LFS Details
|
images/4._Burnt_Cheese_Ring.jpg
ADDED
|
Git LFS Details
|
images/5._Oreoverload.jpg
ADDED
|
Git LFS Details
|
images/6._Peanut_Butter_Chocolate.jpg
ADDED
|
Git LFS Details
|
images/7._Signature_Chocolate.jpg
ADDED
|
Git LFS Details
|
images/8._Caramel_Almond.jpg
ADDED
|
Git LFS Details
|
images/9._Crunch_Me_Matcha.jpg
ADDED
|
Git LFS Details
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:062ebfa2a1ed6b144345cc12110828eb7f8e95772f7f3c43ff6293f37c908130
|
| 3 |
+
size 343300876
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_convert_rgb": null,
|
| 3 |
+
"do_normalize": true,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 6 |
+
"image_mean": [
|
| 7 |
+
0.5,
|
| 8 |
+
0.5,
|
| 9 |
+
0.5
|
| 10 |
+
],
|
| 11 |
+
"image_processor_type": "ViTFeatureExtractor",
|
| 12 |
+
"image_std": [
|
| 13 |
+
0.5,
|
| 14 |
+
0.5,
|
| 15 |
+
0.5
|
| 16 |
+
],
|
| 17 |
+
"resample": 2,
|
| 18 |
+
"rescale_factor": 0.00392156862745098,
|
| 19 |
+
"size": {
|
| 20 |
+
"height": 224,
|
| 21 |
+
"width": 224
|
| 22 |
+
}
|
| 23 |
+
}
|
runs/events.out.tfevents.1764908327.7cc616b7683d.833.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc973dab3d1624d0592ade6e666717d82a16a8bf18de94581d71fba74337c77d
|
| 3 |
+
size 3541
|