C-ViT:一种改进的ViT模型,用于对竹子子缺陷的多标签分类
Waizhong Wang1, Wei Peng2, Liancheng Zeng1
1College of Information and Intelligence, Hunan Agricultural University, Changsha 410128, China.
Sensors (Basel, Switzerland)
|February 13, 2026
概括
这项研究介绍了C-ViT,这是一个改进的视觉变压器 (ViT) 模型,用于竹子子缺陷检测. 该模型通过结合卷积神经网络特征提取模块和新的硬实例对比损失函数来提高质量检查的准确性.
科学领域:
- 计算机视觉 计算机视觉
- 机器学习 机器学习
- 质量控制 质量控制 质量控制
背景情况:
- 一次性竹子子质量影响消费者体验和安全.
- 目前的质量检查方法需要根据生产需求进行改进.
- 视觉变压器 (ViT) 模型面临的挑战是极端的尺寸比率,就像竹一样.
研究的目的:
- 开发一个改进的ViT模型 (C-ViT) 用于竹的多标签缺陷分类.
- 引入一个新的Hard Examples对比损失 (HCL) 函数,以增强从困难的例子中学习.
- 为了提高竹子子质量检查的准确性和效率.
主要方法:
- 拟议的C-ViT模型具有卷积神经网络特征提取 (CFE) 模块,以取代传统的补丁嵌入.
- 开发了硬实例对比损失 (HCL) 函数,用于动态硬实例选择和对比学习.
- 对自制竹缺陷数据集 (BCDD) 和公共VOC2012数据集的评估模型.
主要成果:
- 与ViTS模型相比,C-ViT在BCDD数据集上的平均精度 (mAP) 提高了1.2%至92.8%.
- 添加HCL进一步提高了BCDD数据集上的94.3% mAP的性能.
- 在VOC2012数据集上,HCL功能在多标签分类任务中表现出有效性.
结论:
- 与其CFE模块一起的C-ViT模型对于极端尺寸比的对象的缺陷检测是有效的.
- 通过专注于硬实例,HCL功能显著提高了多标签分类性能.
- 提出的方法为改善制造业自动化质量检查提供了一个有希望的方法.
相关概念视频
Lumber Defects
563
Lumber defects, which can affect both the appearance and structural integrity of wood, include a variety of growth and manufacturing flaws. Growth defects such as knots and knotholes occur where branches were once attached to the tree trunk, with knotholes forming when these knots fall out. Other natural defects include decay and insect damage, which compromise the wood's strength and durability.
Shakes are minor fractures that run along or across the wood's annual rings, while wane is...
Shakes are minor fractures that run along or across the wood's annual rings, while wane is...
563
Force Classification
2.5K
Forces play a crucial role in the study of physics and engineering. They are essential in describing the motion, behavior, and equilibrium of objects in the physical world. Forces can be classified based on their origin, type, and direction of action.
Contact and non-contact forces are two of the most widely used categories of forces. As the name suggests, contact forces require physical contact between two objects to act upon each other. Examples of contact forces include frictional,...
Contact and non-contact forces are two of the most widely used categories of forces. As the name suggests, contact forces require physical contact between two objects to act upon each other. Examples of contact forces include frictional,...
2.5K
Classification of Neurotransmitters
5.4K
Neurotransmitters play a crucial role in the communication between neurons in the autonomic nervous system. Neurons in the autonomic nervous system can be cholinergic or adrenergic depending on the neurotransmitters synthesized. Cholinergic neurons use acetylcholine as their primary neurotransmitter. This includes all the preganglionic fibers of the sympathetic and pre- and postganglionic fibers of the parasympathetic nervous systems. In addition, neurons of the somatic nervous system also use...
5.4K
Classification of Leukocytes
6.2K
Leukocytes are classified into two groups based on the presence or absence of cytoplasmic granules. Granular leukocytes, which contain granules, belong to the myeloid lineage and are divided into three subtypes: neutrophils, eosinophils, and basophils. These cells are roughly spherical and characterized by the granules in their cytoplasm.
Neutrophils are the most abundant type of granular leukocytes, comprising 50-70% of all leukocytes. They feature small, evenly distributed granules and a...
Neutrophils are the most abundant type of granular leukocytes, comprising 50-70% of all leukocytes. They feature small, evenly distributed granules and a...
6.2K
Classification of Illness
8.9K
The meaning of illness is individualized to each person who experiences an alteration in health. In contrast, disease is a medical term indicating a pathological change in the structure and function of the body or mind. It is a condition that has specific symptoms and boundaries.
An illness is a response to a disease in which the person's level of functioning is changed compared with a previous level. The general classification of illness includes acute and chronic.
Acute illness is severe...
An illness is a response to a disease in which the person's level of functioning is changed compared with a previous level. The general classification of illness includes acute and chronic.
Acute illness is severe...
8.9K
Classification of Bones
10.2K
The bones of the human skeletal system are of varied shapes, sizes, and functions. They can be classified based on their shape and function into four major classes: long bones, short bones, flat bones, and irregular bones. Some classifications include a fifth type, the sesamoid bones, as a separate class, whereas others categorize them under short bones.
Long and Short Bones
The appendicular skeleton, particularly the upper and lower limbs, is primarily made of long and short bones. The...
Long and Short Bones
The appendicular skeleton, particularly the upper and lower limbs, is primarily made of long and short bones. The...
10.2K


