Data processing method and device and text attribute recognition method and device

The invention discloses a data processing method and device and a text attribute recognition method and device. The method comprises the steps of obtaining first training sample data; performing data enhancement processing on each first text image to obtain a positive sample pair corresponding to ea...

Full description

Saved in:
Bibliographic Details
Main Authors HU YIQING, NIE CHANG, JIANG DEQIANG
Format Patent
LanguageChinese
English
Published 07.11.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a data processing method and device and a text attribute recognition method and device. The method comprises the steps of obtaining first training sample data; performing data enhancement processing on each first text image to obtain a positive sample pair corresponding to each first text image; performing feature extraction on the at least two positive samples corresponding to each text image by adopting a to-be-trained neural network model to obtain at least two text attribute features corresponding to each first text image; constructing comparative learning loss based on the at least two text attribute features, and adjusting model parameters of a to-be-trained neural network model based on the comparative learning loss to obtain a pre-trained neural network model; and obtaining second training sample data, and adjusting model parameters of the pre-trained neural network model based on the second training sample data to obtain a trained neural network model. According to the method,
Bibliography:Application Number: CN202211475414