sainteye commited on
Commit
7f39eeb
1 Parent(s): 50eacea

From autotrain-ifoodie-menu-99054147226 Acc_Val 0.857

Browse files
.gitattributes CHANGED
@@ -33,3 +33,7 @@ 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/0 filter=lfs diff=lfs merge=lfs -text
37
+ images/1.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/2.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/3.jpg filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ model-index:
10
+ - name: ifoodie-menu-v1
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.8571428656578064
19
+ ---
20
+
21
+ # ifoodie-menu-v1
22
+
23
+
24
+ ['優質', '差', '廣告', '普通']
25
+
26
+
27
+ ## Example Images
28
+
29
+
30
+ # #### 優質
31
+
32
+ # ![優質](images/0)
33
+ #
34
+ # #### 差
35
+
36
+ # ![差](images/1.jpg)
37
+ #
38
+ # #### 廣告
39
+
40
+ # ![廣告](images/2.jpg)
41
+ #
42
+ # #### 普通
43
+
44
+ # ![普通](images/3.jpg)
45
+ #
config.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sainteye/autotrain-ifoodie-menu-99054147226",
3
+ "architectures": [
4
+ "SwinForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 6,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "embed_dim": 96,
15
+ "encoder_stride": 32,
16
+ "hidden_act": "gelu",
17
+ "hidden_dropout_prob": 0.0,
18
+ "hidden_size": 768,
19
+ "id2label": {
20
+ "0": "\u512a\u8cea",
21
+ "1": "\u5dee",
22
+ "2": "\u5ee3\u544a",
23
+ "3": "\u666e\u901a"
24
+ },
25
+ "image_size": 224,
26
+ "initializer_range": 0.02,
27
+ "label2id": {
28
+ "\u512a\u8cea": "0",
29
+ "\u5dee": "1",
30
+ "\u5ee3\u544a": "2",
31
+ "\u666e\u901a": "3"
32
+ },
33
+ "layer_norm_eps": 1e-05,
34
+ "max_length": 128,
35
+ "mlp_ratio": 4.0,
36
+ "model_type": "swin",
37
+ "num_channels": 3,
38
+ "num_heads": [
39
+ 3,
40
+ 6,
41
+ 12,
42
+ 24
43
+ ],
44
+ "num_layers": 4,
45
+ "out_features": [
46
+ "stage4"
47
+ ],
48
+ "out_indices": [
49
+ 4
50
+ ],
51
+ "padding": "max_length",
52
+ "patch_size": 4,
53
+ "path_norm": true,
54
+ "problem_type": "single_label_classification",
55
+ "qkv_bias": true,
56
+ "stage_names": [
57
+ "stem",
58
+ "stage1",
59
+ "stage2",
60
+ "stage3",
61
+ "stage4"
62
+ ],
63
+ "torch_dtype": "float32",
64
+ "transformers_version": "4.35.0",
65
+ "use_absolute_embeddings": false,
66
+ "window_size": 7
67
+ }
images/0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d65165279105ca6773180500688df4bdc69a2c7b771752f0a46ef120b7fd8ec3
3
+ size 6148
images/1.jpg ADDED

Git LFS Details

  • SHA256: 2d249280fc4c4aadd02feb83b179796e1ba0c9aa59cd02b938eb2aa90934bdd4
  • Pointer size: 130 Bytes
  • Size of remote file: 94.4 kB
images/2.jpg ADDED

Git LFS Details

  • SHA256: 18bf2828f3cc344292b3ed2b211738fdee7fc5868eee7ce2ac0c0c028fe69da3
  • Pointer size: 130 Bytes
  • Size of remote file: 72.9 kB
images/3.jpg ADDED

Git LFS Details

  • SHA256: ad6da99d4081c657aaa4b5cb3e56382c7496f7e00139c83ee10326bd90273eab
  • Pointer size: 131 Bytes
  • Size of remote file: 116 kB
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:032208d27531cc8dea268c76430cdba5dd604f4847318f65e3ad91f7eb94d357
3
+ size 110348984
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "feature_extractor_type": "ViTFeatureExtractor",
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "ViTFeatureExtractor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
runs/events.out.tfevents.1698991981.b33f39fbbe0d.221.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a32584ab74c4fc1ee4cabfd5c29971bd92978187c3d889dc3b132584429b8edb
3
+ size 1288