shbA commited on
Commit
30aedfd
1 Parent(s): deb8896

End of training

Browse files
Files changed (4) hide show
  1. README.md +11 -11
  2. config.json +2 -1
  3. preprocessor_config.json +6 -6
  4. tf_model.h5 +1 -1
README.md CHANGED
@@ -12,11 +12,11 @@ probably proofread and complete it, then remove this comment. -->
12
 
13
  # shbA/food_classifier
14
 
15
- This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
- - Train Loss: 0.6782
18
- - Validation Loss: 0.7004
19
- - Train Accuracy: 0.7391
20
  - Epoch: 6
21
 
22
  ## Model description
@@ -43,13 +43,13 @@ The following hyperparameters were used during training:
43
 
44
  | Train Loss | Validation Loss | Train Accuracy | Epoch |
45
  |:----------:|:---------------:|:--------------:|:-----:|
46
- | 1.0935 | 1.0228 | 0.6304 | 0 |
47
- | 1.0469 | 0.9620 | 0.7174 | 1 |
48
- | 0.9548 | 0.8669 | 0.8043 | 2 |
49
- | 0.8802 | 0.7712 | 0.7391 | 3 |
50
- | 0.8107 | 0.6756 | 0.8261 | 4 |
51
- | 0.7338 | 0.5727 | 0.8478 | 5 |
52
- | 0.6782 | 0.7004 | 0.7391 | 6 |
53
 
54
 
55
  ### Framework versions
 
12
 
13
  # shbA/food_classifier
14
 
15
+ This model is a fine-tuned version of [facebook/dino-vitb16](https://huggingface.co/facebook/dino-vitb16) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
+ - Train Loss: 0.4493
18
+ - Validation Loss: 0.4618
19
+ - Train Accuracy: 0.8043
20
  - Epoch: 6
21
 
22
  ## Model description
 
43
 
44
  | Train Loss | Validation Loss | Train Accuracy | Epoch |
45
  |:----------:|:---------------:|:--------------:|:-----:|
46
+ | 1.2277 | 0.8208 | 0.6087 | 0 |
47
+ | 0.7967 | 0.4934 | 0.8261 | 1 |
48
+ | 0.5488 | 0.5541 | 0.7391 | 2 |
49
+ | 0.6664 | 1.0464 | 0.6304 | 3 |
50
+ | 0.7975 | 1.1285 | 0.5652 | 4 |
51
+ | 0.6134 | 0.8258 | 0.6957 | 5 |
52
+ | 0.4493 | 0.4618 | 0.8043 | 6 |
53
 
54
 
55
  ### Framework versions
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "google/vit-base-patch16-224-in21k",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
@@ -28,5 +28,6 @@
28
  "num_hidden_layers": 12,
29
  "patch_size": 16,
30
  "qkv_bias": true,
 
31
  "transformers_version": "4.29.1"
32
  }
 
1
  {
2
+ "_name_or_path": "facebook/dino-vitb16",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
28
  "num_hidden_layers": 12,
29
  "patch_size": 16,
30
  "qkv_bias": true,
31
+ "torch_dtype": "float32",
32
  "transformers_version": "4.29.1"
33
  }
preprocessor_config.json CHANGED
@@ -3,15 +3,15 @@
3
  "do_rescale": true,
4
  "do_resize": true,
5
  "image_mean": [
6
- 0.5,
7
- 0.5,
8
- 0.5
9
  ],
10
  "image_processor_type": "ViTImageProcessor",
11
  "image_std": [
12
- 0.5,
13
- 0.5,
14
- 0.5
15
  ],
16
  "resample": 2,
17
  "rescale_factor": 0.00392156862745098,
 
3
  "do_rescale": true,
4
  "do_resize": true,
5
  "image_mean": [
6
+ 0.485,
7
+ 0.456,
8
+ 0.406
9
  ],
10
  "image_processor_type": "ViTImageProcessor",
11
  "image_std": [
12
+ 0.229,
13
+ 0.224,
14
+ 0.225
15
  ],
16
  "resample": 2,
17
  "rescale_factor": 0.00392156862745098,
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:50360fa6935fe9264a20fea00732028bed006766bf2cd8e20d73fc95e3edc056
3
  size 343472824
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:831d89bffc0c679feffdc68af98122c90fc885a2d208843c43849c10ee64a58b
3
  size 343472824