End of training
Browse files- README.md +11 -11
- config.json +2 -1
- preprocessor_config.json +6 -6
- 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 [
|
16 |
It achieves the following results on the evaluation set:
|
17 |
-
- Train Loss: 0.
|
18 |
-
- Validation Loss: 0.
|
19 |
-
- Train Accuracy: 0.
|
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.
|
47 |
-
|
|
48 |
-
| 0.
|
49 |
-
| 0.
|
50 |
-
| 0.
|
51 |
-
| 0.
|
52 |
-
| 0.
|
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": "
|
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.
|
7 |
-
0.
|
8 |
-
0.
|
9 |
],
|
10 |
"image_processor_type": "ViTImageProcessor",
|
11 |
"image_std": [
|
12 |
-
0.
|
13 |
-
0.
|
14 |
-
0.
|
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:
|
3 |
size 343472824
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:831d89bffc0c679feffdc68af98122c90fc885a2d208843c43849c10ee64a58b
|
3 |
size 343472824
|