Update README.md
Browse files
README.md
CHANGED
@@ -15,26 +15,36 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
This model is a fine-tuned version of [microsoft/resnet-18](https://huggingface.co/microsoft/resnet-18) on an [custom](https://www.kaggle.com/datasets/faldoae/padangfood) dataset. This model was built using the "Padang Cuisine (Indonesian Food Image Classification)" dataset obtained from Kaggle. During the model building process, this was done using the Pytorch framework with pre-trained Resnet-18. The method used during the process of building this classification model is fine-tuning with the dataset.
|
17 |
|
18 |
-
##
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
## Training procedure
|
27 |
|
28 |
### Training hyperparameters
|
29 |
|
30 |
The following hyperparameters were used during training:
|
31 |
-
-
|
32 |
-
-
|
33 |
-
-
|
34 |
-
-
|
35 |
-
-
|
36 |
-
- lr_scheduler_type: linear
|
37 |
-
- num_epochs: 3.0
|
38 |
|
39 |
### Framework versions
|
40 |
|
|
|
15 |
|
16 |
This model is a fine-tuned version of [microsoft/resnet-18](https://huggingface.co/microsoft/resnet-18) on an [custom](https://www.kaggle.com/datasets/faldoae/padangfood) dataset. This model was built using the "Padang Cuisine (Indonesian Food Image Classification)" dataset obtained from Kaggle. During the model building process, this was done using the Pytorch framework with pre-trained Resnet-18. The method used during the process of building this classification model is fine-tuning with the dataset.
|
17 |
|
18 |
+
## Training results
|
19 |
+
|
20 |
+
| Epoch | Accuracy |
|
21 |
+
|:-----:|:--------:|
|
22 |
+
| 1.0 | 0.6030 |
|
23 |
+
| 2.0 | 0.8342 |
|
24 |
+
| 3.0 | 0.8442 |
|
25 |
+
| 4.0 | 0.8191 |
|
26 |
+
| 5.0 | 0.8693 |
|
27 |
+
| 6.0 | 0.8643 |
|
28 |
+
| 7.0 | 0.8744 |
|
29 |
+
| 8.0 | 0.8643 |
|
30 |
+
| 9.0 | 0.8744 |
|
31 |
+
| 10.0 | 0.8744 |
|
32 |
+
| 11.0 | 0.8794 |
|
33 |
+
| 12.0 | 0.8744 |
|
34 |
+
| 13.0 | 0.8894 |
|
35 |
+
| 14.0 | 0.8794 |
|
36 |
+
| 15.0 | 0.8945 |
|
37 |
|
38 |
## Training procedure
|
39 |
|
40 |
### Training hyperparameters
|
41 |
|
42 |
The following hyperparameters were used during training:
|
43 |
+
- loss_function = CrossEntropyLoss
|
44 |
+
- optimizer = AdamW
|
45 |
+
- learning_rate: 0.00001
|
46 |
+
- batch_size: 16
|
47 |
+
- num_epochs: 15
|
|
|
|
|
48 |
|
49 |
### Framework versions
|
50 |
|