The invention discloses an image recognition model training method and device, an image recognition method and device, equipment, a medium and a program product, and relates to the field of
artificial intelligence, in particular to the
computer vision and
deep learning technology. According to the implementation scheme, a
sample image and
annotation information thereof are acquired, and the
annotation information comprises initial
annotation information annotated according to positive and
negative sample dimensions and at least one kind of fine-grained annotation information obtained by dividing positive samples in the
sample image according to different fine-grained dimensions; the
sample image is input into a pre-built image recognition model, with the image recognition model comprising at least two independent
convolution layers, and the different
convolution layers being used for extracting feature vectors of a feature map of the sample image from different dimensions; and according to the annotation information of different dimensions of the sample image,
supervised training is performed on the image recognition model by using a
loss function corresponding to each dimension, and the
loss function is used for returning to the
convolution layer of the corresponding dimension. The invention can improve image recognition precision.