Web Application Development Skin Lesion Classification Using Transfer Learning InceptionResNet-v2
DOI:
https://doi.org/10.62146/ijecbe.v1i2.13Keywords:
skin cancer, image classification, deep learning, InceptionResNet-v2, Streamlit, HuggingFace, LatencyAbstract
The development of machine learning continues from various domains where automation systems are needed. Advanced learning models, such as Convolutional Neural Networks (CNNs) in deep learning, can classify and identify objects even beyond human capabilities. One application is the classification of medical images skin cancer. Automatic diagnosis of skin cancer images is still challenging for CNNs. The use of transfer learning on classification has been leveraged for mobile, accurate, and fast automatic diagnosis. However, such models are imperfect in the categorization of skin lesions. Therefore, this study developed a web application for multiclass classification of 7 classes of disease through Streamlit and HuggingFace, with datasets from HAM10000 using TF Lite-conversion InceptionResNetV2. TF Lite-converted and the model’s classification reports were analyzed. The results on EarlyStopping overall accuracy were 87.56%, top-2 95.05%, and top-3 97.46%. Moreover, latency and classification duration were measured on Streamlit Share and HuggingFace Spaces. The findings are Streamlit has a faster average latency (1.17 ms) than HuggingFace (1.49 ms). The latency standard deviation on HuggingFace less consitent (0.49 ms) than Streamlit (0.10 ms). The HuggingFace classification average duration and standard deviation is 116 ms and 5 ms, while Streamlit is better at 97 ms and 2 ms respectively.
References
D. O’Sullivan, D. Brenner, P. Villeneuve, S. Walter, D. P.A., C. Friedenreich, W. King and a. C. S. Team, "Estimates of the current and future burden of melanoma attributable to ultraviolet in Canada," Preventive medicine,, vol. 122, pp. 81-90, 2019.
J. Ferlay, M. Colombet, I. Soerjomataram, C. Mathers, D. Parkin, M. Pineros, A. Znaor and a. F. Bray, "Estimating the global cancer incidence and mortality in 2018: GLOBOCAN sources and methods," International journal of cancer, vol. 144, no. 8, pp. 1941-1953, 2019.
R. Siegel, K. Miller and A. a. Jemal, "Cancer statistics," CA: a cancer journal for clinicians, vol. 69, no. 1, pp. 7-34, 2019.
J. Gao, Q. Jiang, B. Zhou and a. D. Chen, " Convolutional neural networks for computer-aided detection or diagnosis in medical image analysis: An overview," Math. Biosci. Eng., vol. 16, no. 6, pp. 6536-6561, 2019.
A. Esteva et al., "Dermatologist-level classification of skin cancer with deep neural networks," Nature, vol. 542, p. 115–118, 2017.
S. S. Chaturvedi, K. Gupta and P. S. Prasad, "Skin Lesion Analyser: An Efficient Seven-Way MultiClass Skin Cancer Classification Using MobileNet," Advances in Intelligent Systems and Computing, pp. 165-176, 2020.
J. Frederich, J. Himawan and M. Rizkinia, "APLIKASI DIAGNOSIS LESI KULIT OTOMATIS DENGAN MENGGUNAKAN TRANSFER LEARNING ARSITEKTUR EFFICIENTNET," Asian Congress on Biotechnology, 2022.
R. Dini, A. P. Muharram and H. Abdurrohman, "Evaluasi Performa metode Deep Learning untuk Klasifikasi Citra Lesi Kulit The HAM10000," Seminar Nasional Instrumentasi, Kontrol dan Otomasi (SNIKO), 2018.
C. Szegedy, S. Ioffe, V. Vanhoucke and A. Alemi, "Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning," Proceedings of the AAAI conference on artificial intelligence, vol. 31, no. 1, 2017.
"https://keras.io/," Keras, 1 May 2023. [Online]. Available: https://keras.io/about/#keras-amp-tensorflow-2.
fchollet, "Complete guide to transfer learning & fine-tuning in Keras.," Keras, 15 April 2020. [Online]. Available: https://keras.io/guides/transfer_learning/.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2023 International Journal of Electrical, Computer, and Biomedical Engineering
This work is licensed under a Creative Commons Attribution 4.0 International License.