Provided in the present application are an
image processing method and apparatus, and a
computer device, a storage medium and a program product. The method relates to
computer vision technology of
artificial intelligence. The method comprises: acquiring sample data, wherein the sample data comprises a
sample image, a sample category to which the
sample image belongs, and a sample identifier, which is set for the
sample image; calling an
image generation model to extract training representation information of the sample identifier; calling the
image generation model to predict, on the basis of the training representation information of the sample identifier,
noise added to a
noise image corresponding to the sample image, so as to obtain predicted
noise, wherein the noise image is obtained by adding
label noise to the sample image; and on the basis of the difference between the
label noise and the predicted noise, and the difference between training
semantics of the sample identifier and
semantics of the sample category, updating
model parameters of the
image generation model, so as to
train the image generation model. Using the present application can reduce the degree of
overfitting of the image generation model and improve the
training effect of the image generation model.