Klasifikasi citra makanan/non makanan menggunakan metode Transfer Learning dengan model Residual Network
DOI:
https://doi.org/10.26594/teknologi.v11i2.2402Abstract
People's activities that often upload photos of food before eating are common in popular social media, such as Facebook, Instagram, Twitter, and Pinterest. The food image data circulating on social media can be used for business purposes, such as analyzing customer behavior patterns. However, not all of the uploaded images are food images, so that before the analysis is carried out, it is necessary to do a classification task between food images and non-food images. Therefore, the researcher proposes automatic food image classification using transfer learning method using the Residual Network model version of 18 (ResNet-18). Residual Network model is used because it has a residual connection mechanism to solve the vanishing gradient problem. In addition, transfer learning was chosen because this method leverages the features and weights that have been generated in the previous training process on large and more general data (Imagenet) and thus reduce computation time and increase accuracy. The test was carried out by comparing the capabilities of the ResNet18 model with AlexNet. In addition, the fine tuning and freeze layer methods used to improve the quality of the model were also carried out in this study. In the experiment, the data set was divided into 3,000 images for training data and 1,000 images for test data, while the evaluation used was correctness accuracy. The results obtained in the ResNet18 model, namely the fine tuning training method, produced an accuracy value of 0.981 while the freeze layer resulted in the best accuracy value of 0.988. The AlexNet model that uses the fine tuning training method produces an accuracy value of 0.970 while the freeze layer produces the best accuracy value of 0.978. It can be concluded that the mechanism with the best accuracy is found in the RestNet18 architecture using the freeze layer 1-3 with an accuracy of 0.988.References
Atanasova, A. (2016, Nov. 9). The Psychology of Foodstagramming. Retrieved from Social Media Today: https://www.socialmediatoday.com/social-networks/psychology-foodstagramming
Bestari, K. (2014). Fenomena Mengunggah Foto Makanan pada Pengguna Media Sosial. Depok: Universitas Indonesia.
Gao, H. (2017, Aug. 8). A Walk-through of AlexNet. Retrieved from Hao Gao: https://medium.com/@smallfishbigsea/a-walk-through-of-alexnet-6cbd137a5637
Gultom, Y., Arymurthy, A. M., & Masikome, R. J. (2018). Batik Classification using Deep Convolutional Network Transfer Learning. Jurnal Ilmu Komputer dan Informasi (Journal of Computer Science and Information), 11(2), 59-66.
He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep Residual Learning for Image Recognition. IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (pp. 770-778). Las Vegas, NV, USA: IEEE.
Islam, K. T., Wijewickrema, S., Pervez, M., & O'Leary, S. (2018). An Exploration of Deep Transfer Learning for Food Image Classification. Digital Image Computing: Techniques and Applications (DICTA). Canberra, ACT, Australia: IEEE.
Islam, M. T., Siddique, B. M., Rahman, S., & Jabid, T. (2018). Food Image Classification with Convolutional Neural Network. International Conference on Intelligent Informatics and Biomedical Sciences (ICIIBMS) (pp. 257-262). Bangkok, Thailand: IEEE.
Janocha, K., & Czarnecki, W. M. (2016). On Loss Functions for Deep Neural Networks in Classification. Retrieved from http://arxiv.org/abs/1702.05659
Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2017). ImageNet Classification with Deep Convolutional Neural Networks. Communications of the ACM, 60(6), 84–90.
Rohim, A., Sari, Y. A., & Tibyani, T. (2019). Convolution Neural Network (CNN) Untuk Pengklasifikasian Citra Makanan Tradisional. JPTIIK (Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer), 3(7), 7037-7042.
Ruder, S. (2016). An overview of gradient descent optimization algorithms. Retrieved from https://arxiv.org/abs/1609.04747
Singla, A., Yuan, L., & Ebrahimi, T. (2016). Food/Non-food Image Classification and Food Categorization using Pre-Trained GoogLeNet Model. MADiMa '16: Proceedings of the 2nd International Workshop on Multimedia Assisted Dietary Management (pp. 3-11). ACM.
Swastika, W. (2020). Studi Awal Deteksi COVID-19 Menggunakan Citra CT Berbasis Deep Learning. Jurnal Teknologi Informasi dan Ilmu Komputer, 7(3), 629-634.
Yudistira, N., Widodo, A. W., & Rahayudi, B. (2020). Deteksi COVID-19 pada Citra Sinar-X Dada menggunakan Deep Learning yang Efisien. Jurnal Teknologi Informasi dan Ilmu Komputer, 7(6), 1289-1296.
Downloads
Published
Issue
Section
License
Please find the rights and licenses in Teknologi: Jurnal Ilmiah Sistem Informasi. By submitting the article/manuscript of the article, the author(s) agree with this policy. No specific document sign-off is required.
1. License
The non-commercial use of the article will be governed by the Creative Commons Attribution license as currently displayed on Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
2. Author(s)' Warranties
The author warrants that the article is original, written by stated author(s), has not been published before, contains no unlawful statements, does not infringe the rights of others, is subject to copyright that is vested exclusively in the author and free of any third party rights, and that any necessary written permissions to quote from other sources have been obtained by the author(s).
3. User/Public Rights
Register's spirit is to disseminate articles published are as free as possible. Under the Creative Commons license, Register permits users to copy, distribute, display, and perform the work for non-commercial purposes only. Users will also need to attribute authors and Register on distributing works in the journal and other media of publications. Unless otherwise stated, the authors are public entities as soon as their articles got published.
4. Rights of Authors
Authors retain all their rights to the published works, such as (but not limited to) the following rights;
Copyright and other proprietary rights relating to the article, such as patent rights,
The right to use the substance of the article in own future works, including lectures and books,
The right to reproduce the article for own purposes,
The right to self-archive the article (please read out deposit policy),
The right to enter into separate, additional contractual arrangements for the non-exclusive distribution of the article's published version (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal (Register: Jurnal Ilmiah Teknologi Sistem Informasi).
5. Co-Authorship
If the article was jointly prepared by more than one author, any authors submitting the manuscript warrants that he/she has been authorized by all co-authors to be agreed on this copyright and license notice (agreement) on their behalf, and agrees to inform his/her co-authors of the terms of this policy. Register will not be held liable for anything that may arise due to the author(s) internal dispute. Register will only communicate with the corresponding author.
6. Royalties
Being an open accessed journal and disseminating articles for free under the Creative Commons license term mentioned, author(s) aware that Register entitles the author(s) to no royalties or other fees.
7. Miscellaneous
Register will publish the article (or have it published) in the journal if the article’s editorial process is successfully completed. Register's editors may modify the article to a style of punctuation, spelling, capitalization, referencing and usage that deems appropriate. The author acknowledges that the article may be published so that it will be publicly accessible and such access will be free of charge for the readers as mentioned in point 3.