commit files to HF hub
Browse files- README.md +46 -0
- config.json +34 -0
- images/cotton candy.jpg +0 -0
- images/hamburger.jpg +0 -0
- images/hot dog.jpg +0 -0
- images/nachos.jpg +0 -0
- images/popcorn.jpg +0 -0
- preprocessor_config.json +17 -0
- pytorch_model.bin +3 -0
- runs/events.out.tfevents.1624995904.30092e240e2c.62.2 +0 -0
README.md
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- image-classification
|
4 |
+
- pytorch
|
5 |
+
- huggingpics
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
|
9 |
+
model-index:
|
10 |
+
- name: baseball-stadium-foods
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Image Classification
|
14 |
+
type: image-classification
|
15 |
+
metrics:
|
16 |
+
- name: Accuracy
|
17 |
+
type: accuracy
|
18 |
+
value: 0.9107142686843872
|
19 |
+
---
|
20 |
+
|
21 |
+
# baseball-stadium-foods
|
22 |
+
|
23 |
+
Autogenerated by HuggingPics🤗🖼️
|
24 |
+
|
25 |
+
## Example Images
|
26 |
+
|
27 |
+
|
28 |
+
#### cotton candy
|
29 |
+
|
30 |
+
![cotton candy](images/cotton candy.jpg)
|
31 |
+
|
32 |
+
#### hamburger
|
33 |
+
|
34 |
+
![hamburger](images/hamburger.jpg)
|
35 |
+
|
36 |
+
#### hot dog
|
37 |
+
|
38 |
+
![hot dog](images/hot dog.jpg)
|
39 |
+
|
40 |
+
#### nachos
|
41 |
+
|
42 |
+
![nachos](images/nachos.jpg)
|
43 |
+
|
44 |
+
#### popcorn
|
45 |
+
|
46 |
+
![popcorn](images/popcorn.jpg)
|
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.0,
|
9 |
+
"hidden_size": 768,
|
10 |
+
"id2label": {
|
11 |
+
"0": "cotton candy",
|
12 |
+
"1": "hamburger",
|
13 |
+
"2": "hot dog",
|
14 |
+
"3": "nachos",
|
15 |
+
"4": "popcorn"
|
16 |
+
},
|
17 |
+
"image_size": 224,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"cotton candy": "0",
|
22 |
+
"hamburger": "1",
|
23 |
+
"hot dog": "2",
|
24 |
+
"nachos": "3",
|
25 |
+
"popcorn": "4"
|
26 |
+
},
|
27 |
+
"layer_norm_eps": 1e-12,
|
28 |
+
"model_type": "vit",
|
29 |
+
"num_attention_heads": 12,
|
30 |
+
"num_channels": 3,
|
31 |
+
"num_hidden_layers": 12,
|
32 |
+
"patch_size": 16,
|
33 |
+
"transformers_version": "4.8.1"
|
34 |
+
}
|
images/cotton candy.jpg
ADDED
images/hamburger.jpg
ADDED
images/hot dog.jpg
ADDED
images/nachos.jpg
ADDED
images/popcorn.jpg
ADDED
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:d92f120f9bfcf6ec7e774a51cb69da8f0fe1d2f74b5ca5b42203cb46055ee391
|
3 |
+
size 343286257
|
runs/events.out.tfevents.1624995904.30092e240e2c.62.2
ADDED
Binary file (1.44 kB). View file
|
|