In this paper, we present an efficient solution for weed classification in agriculture. We focus on optimizing model performance at inference while respecting the constraints of the agricultural domain. We propose a Quantized Deep Neural Network model that classifies a dataset of 9 weed classes using 8-bit integer (int8) quantization, a departure from standard 32-bit floating point (fp32) models. Recognizing the hardware resource limitations in agriculture, our model balances model size, inference time, and accuracy, aligning with practical requirements. We evaluate the approach on ResNet-50 and InceptionV3 architectures, comparing their performance against their int8 quantized versions. Transfer learning and fine-tuning are applied using the DeepWeeds dataset. The results show staggering model size and inference time reductions while maintaining accuracy in real-world production scenarios like Desktop, Mobile and Raspberry Pi. Our work sheds light on a promising direction for efficient AI in agriculture, holding potential for broader applications.
Code: https://github.com/parikshit14/QNN-for-weed
WeedNet: A Foundation Model-Based Global-to-Local AI Approach for Real-Time Weed Species Identification and Classification
Department of Agronomy, Iowa State University, Iowa, USA(农业学系,爱荷华州立大学);Department of Computer Science, Iowa State University, Iowa, USA(计算机科学系,爱荷华州立大学);Data Science Institute, University of Arizona, Arizona, USA(数据科学研究所,亚利桑那大学);Department of Mechanical Engineering, Iowa State University, Iowa, USA(机械工程系,爱荷华州立大学);Department of Plant Pathology, Entomology and Microbiology, Iowa State University, Iowa, USA(植物病理学、昆虫学和微生物学系,爱荷华州立大学)
Deep Learning Techniques for In-Crop Weed Identification: A Review
School of Computer Science, The University of Sydney(悉尼大学计算机学院);School of Life and Environmental Sciences, The University of Sydney(悉尼大学生命与环境科学学院);Australian Centre for Field Robotics, The University of Sydney(悉尼大学澳大利亚田间机器人中心);College of Information Science and Technology, Dalian Maritime University(大连海事大学信息科学技术学院);College of Mathematics and Computer Science, Wuhan Polytechnic University(武汉轻工大学数学与计算机学院);Department of Computer Science and Engineering, Texas A&M University(德克萨斯农工大学计算机科学与工程系);Citrus Research and Education Center, University of Florida(佛罗里达大学柑橘研究与教育中心)
WeedsGalore: A Multispectral and Multitemporal UAV-based Dataset for Crop and Weed Segmentation in Agricultural Maize Fields
GFZ German Research Centre for Geosciences(GFZ德国地球科学研究中心);Humboldt-Universität zu Berlin(柏林洪堡大学);Scientific Computing Center, Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院科学计算中心)
AgroBench: Vision-Language Model Benchmark in Agriculture
The University of Osaka(大阪大学);Kyoto University(京都大学);Tokyo Institute of Technology(东京工业大学);National Institute of Advanced Industrial Science and Technology (AIST)(日本产业技术综合研究所 (AIST));University of Oxford(牛津大学);OMRON SINIC X(欧姆龙思尼克斯)
A Directed-Evolution Method for Sparsification and Compression of Neural Networks with Application to Object Identification and Segmentation and considerations of optimal quantization using small number of bits