Deep learning-based small-sample fine granularity defect detection method
Патент · CN B
Полный текст
The invention discloses a deep learning-based small sample fine granularity defect detection method which comprises the steps of generating sample slices according to image features, training a class classifier by using normal samples, training a model by using a loss function of deep class classification anomaly detection, generating a pseudo tag for a label-free sample, constructing a new data set by the obtained pseudo tag defect sample and a real normal sample, preprocessing an image, inputting the new data set into a feature map embedding encoder, exploring multi-scale features and internal relations of the image fine granularity, calculating feature map of the image, and balancing class distribution by balancing a cross entropy function. According to the invention, the data scale is expanded through the slice generator, an integral texture information model is constructed from local features, a feature mapping embedded encoder is introduced to model multi-scale features, and the learning of the sample on the image key feature information is enhanced, so that the higher accuracy of detecting the fine-granularity defects of the few samples is obtained.