摘要:中药饮片是指药材经过炮制后可直接用于中医临床或制剂生产的药品,针对中药饮片种类繁多、形态类似,导致鉴别困难的问题,本文提出一种融合多尺度特征和注意力的中药饮片分类模型(ECA-Res2Net)。首先,通过Res2Net分层类残差结构提取不同数量和尺度的特征组合,增强网络对细节信息和语义信息的学习能力;其次,引入高效的通道注意力机制突出中药饮片重要的特征区域,提高模型的特征选择能力;最后,结合Softmax Loss和Center Loss构造联合损失函数,有效地调节类内以及类间距离,提高分类的准确性。实验表明,ECA-Res2Net在构建的16类中药饮片数据集上的识别准确率高达96.35%,与经典神经网络和Transformer分类模型相比,具有更少的参数量和计算复杂度,为中药饮片的快速、智能识别提供有力支持。