Dynamic label smooth weighted loss method and device based on historical records
A technology of historical records and labels, applied in the field of image processing, can solve the problem of low recognition accuracy of machine learning models, and achieve the effect of avoiding overfitting, reducing penalties, and solving low recognition accuracy.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0041] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.
[0042] Such as figure 1 As shown, the embodiment of the present invention provides a method for smoothing weighted loss of dynamic tags based on historical records. The method can be implemented by an electronic device, and the electronic device can be a terminal or a server. The method includes:
[0043]S1, establishing a fixed-length history queue for each image, wherein the initial value in the history queue is the real label category of the corresponding image;
[0044] S2, during each iterative training of the machine learning model, calculate the weight of the corresponding image belonging to the real category and other categories according to the historical queue, and combine the obtained weight with the cross entropy function t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


