sainteye commited on
Commit
90d8868
1 Parent(s): 4d161c4

From ifoodie-rating-reset-v12 Acc_Val 0.977

Browse files
.gitattributes CHANGED
@@ -33,3 +33,6 @@ 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 filter=lfs diff=lfs merge=lfs -text
38
+ images/2 filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ model-index:
10
+ - name: ifoodie-rating-reset-v13
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.9884393215179443
19
+ ---
20
+
21
+ # ifoodie-rating-reset-v13
22
+
23
+
24
+ ['優質', '差', '普通']
25
+
26
+
27
+ ## Example Images
28
+
29
+
30
+ # #### 優質
31
+
32
+ # ![優質](images/0)
33
+ #
34
+ # #### 差
35
+
36
+ # ![差](images/1)
37
+ #
38
+ # #### 普通
39
+
40
+ # ![普通](images/2)
41
+ #
config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sainteye/ifoodie-rating-reset-v12",
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": "\u666e\u901a"
23
+ },
24
+ "image_size": 224,
25
+ "initializer_range": 0.02,
26
+ "label2id": {
27
+ "\u512a\u8cea": "0",
28
+ "\u5dee": "1",
29
+ "\u666e\u901a": "2"
30
+ },
31
+ "layer_norm_eps": 1e-05,
32
+ "max_length": 128,
33
+ "mlp_ratio": 4.0,
34
+ "model_type": "swin",
35
+ "num_channels": 3,
36
+ "num_heads": [
37
+ 3,
38
+ 6,
39
+ 12,
40
+ 24
41
+ ],
42
+ "num_layers": 4,
43
+ "out_features": [
44
+ "stage4"
45
+ ],
46
+ "out_indices": [
47
+ 4
48
+ ],
49
+ "padding": "max_length",
50
+ "patch_size": 4,
51
+ "path_norm": true,
52
+ "problem_type": "single_label_classification",
53
+ "qkv_bias": true,
54
+ "stage_names": [
55
+ "stem",
56
+ "stage1",
57
+ "stage2",
58
+ "stage3",
59
+ "stage4"
60
+ ],
61
+ "torch_dtype": "float32",
62
+ "transformers_version": "4.34.1",
63
+ "use_absolute_embeddings": false,
64
+ "window_size": 7
65
+ }
images/0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88d1eeba1fc3c4591d0c603aca82dd7a16bbfdaf891075a40526601d63449f9e
3
+ size 14340
images/1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68d19f3fd8cc32618ccad39119d54bf6a9a269f2d03f55a9ba27028474fc4dea
3
+ size 14340
images/2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd06ea57c5578d85263a23d9214b5382b00951788f77d4f8b153f7fddf7fca7e
3
+ size 10244
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
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b994ab038fd4a2471b18c19e18d10c44ab1f4c5a2d5da13695855baab2bc4e87
3
+ size 110395118
runs/events.out.tfevents.1698340420.4349086e256f.642.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ca92f8efd2746e93ab1796a02697b08413b63a76249924502125637a4d192a0
3
+ size 2978