Comparison Analysis of Convolutional Neural Networks Using CPU and GPU in the Diagnosis of Lung Diseases

Authors

  • Pedro Freddy Huamaní Navarrete Universidad Ricardo Palma - (Pe), Perú
  • Lisset Fernanda Maldonado Lezama Universidad Ricardo Palma - (Pe), Perú
  • Eder Omar Moreano Rojas Universidad Ricardo Palma - (Pe), Perú

DOI:

https://doi.org/10.18687/LACCEI2025.1.1.1253

Keywords:

InceptionV3 model, VGG16 model, CPU, GPU, Transfer learning, frontal chest x-ray.

Abstract

This article describes the comparative analysis of the use of CPU and GPU in the training and validation of three convolutional neural network models, to diagnose lung diseases from central chest X-rays. Since tuberculosis and Covid-19 present similar symptoms, it is possible to confuse the diagnosis and provide incorrect treatment. For this reason, two convolutional network models, InceptionV3 and VGG16, and an arbitrary one consisting of ten hidden layers, were chosen to compare them and thus achieve a more accurate diagnosis. Likewise, the JupyterLab interface was used with the Python programming language, complemented by the TensorFlow and Keras libraries. Then, for the training stage, 2,535 images were used, and the transfer learning technique was applied using the computer's CPU and GPU, with the purpose of analyzing the effectiveness when comparing each of the presented cases; likewise, this group of images also included the diagnosis of healthy patients. Regarding the evaluation, the metrics Accuracy, Recall, F1-Score, and General Precision were used to identify the performance of the arbitrary network model when compared to the other mentioned models. In this way, the arbitrarily proposed convolutional neural network model achieved higher accuracy, equivalent to 92.70% when the CPU was used, while when the GPU was used, this accuracy increased to 94.28%.

Downloads

Published

2025-07-27

License

Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

LACCEI retains copyright of all published articles under the terms of its copyright transfer agreement. As the copyright holder, LACCEI distributes the articles to the public under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).

How to Cite

Huamaní Navarrete, P. F., Maldonado Lezama, L. F., & Moreano Rojas, E. O. (2025). Comparison Analysis of Convolutional Neural Networks Using CPU and GPU in the Diagnosis of Lung Diseases. LACCEI, 1(12). https://doi.org/10.18687/LACCEI2025.1.1.1253