EventsThe 4th International Electronic Conference on Applied Sciences
Published
with-doi10.3390/ASEC2023-15518 (registering DOI)
This submission belongs to the session C. Computing and Artificial Intelligence of the event The 4th International Electronic Conference on Applied Sciences
Published date
31 Oct, 2023
Academic Editor
author-avatarAlessandro Bruno
Citation
Usman Umar, Mohammed Hassan, Mohamed Hamada, Habeebah Kakudi Adamu, A compressed convolutional neural network model for rice yield detection at ripening stage using weight pruning, in Proceedings of The 4th International Electronic Conference on Applied Sciences, 27 October–10 November 2023, MDPI: Basel, Switzerland, doi: 10.3390/ASEC2023-15518
Share
Email
Facebook
Twitter
LinkedIn

A compressed convolutional neural network model for rice yield detection at ripening stage using weight pruning

image
1. Dept. of Computer Science Federal University Kashere Gombe, Nigeria, Nigeria
2. Dept. of Software Engr. Bayero University Kano, Nigeria, Nigeria
3. Software Engineering Lab University of Aizu-Japan, Japan
4. Dept. of Computer Science Bayero University Kano, Nigeria, Nigeria
Abstract

This paper proposes a compressed Convolutional Neural Network (CNN) model for rice yield detection using the weight pruning technique. The initial CNN model achieved an accuracy of 91% on a dataset comprising 3120 images of both yield and unyield rice crops. However, it had a large size of approximately 603MB, posing challenges in terms of deployment and storage. To address this issue, weight pruning was applied to compress the model. The compressed model achieved a significant reduction in size to 186MB, representing a reduction of approximately 69.15%, while maintaining a reasonable accuracy of 86%.

The experiment was conducted in three phases. First, a dataset of 3120 images of yield and unyield rice crops was collected from different farms in Kano metropolis of Nigeria and preprocessed by resizing them to 250x250 pixels. Secondly, a CNN model with 12 layers was designed and trained using the preprocessed dataset. The model achieved an accuracy of 86%. Finally, weight pruning was applied to the trained CNN model to reduce its size. The compressed model exhibited a size of 300MB and an accuracy of 86%.

The results of this study demonstrate the effectiveness of weight pruning as a viable technique for compressing CNN models without significantly compromising their accuracy. The compressed model, with its reduced size, is well-suited for deployment on resource-constrained devices for rice yield detection applications.

Keywords
Convolutional Neural Network
rice yield detection
weight pruning
image compression.
Manuscript
Comparative Analysis of Machine Learning and Deep Learning Models for Groundwater Potability Classification
A Critical Appraisal of Various Implementation Approaches for Realtime Pothole Anomaly Detection: Towards Safer Roads in Developing Nations