09-06-2023 дата публикации
Номер: CN116246326A
Принадлежит:
The invention relates to a pain expression assessment method based on a multi-task transformer, and belongs to the technical field of image processing and mode recognition, and the method comprises the following steps: S1, preprocessing expression data; s2, a multi-task transform pain assessment model is established, and S2, a multi-task transform pain assessment model is established; s3, acquiring an input image; s4, performing local feature extraction on the input image; s5, performing weighted combination based on the local features of the self-attention; s6, classifying pain expressions; s7, performing pain expression score regression; s8, updating network parameters; and S9, repeating the steps S3-S8 until the loss function value tends to be stable. According to the method, the relationship between local features is further mined by using a transform structure, the quality of the extracted features is improved, a classification and regression multi-task model is adopted, the problem ...
Подробнее