FIELD OF THE TECHNOLOGY

Embodiments of this application relate to the technical field of machine learning, and in particular, to an image description generation method, a model training method, a device, and a storage medium.

BACKGROUND OF THE DISCLOSURE

With development of image recognition technology, content information of an image may be converted into text description of the image through machine-readable instructions.

SUMMARY

Embodiments of this application provide an image description generation method, a model training method, a terminal, and a storage medium.

According to a first aspect of the present application, an embodiment of this application provides an image description generation method, applied to a computing device, including:

obtaining a target image;

generating a first global feature vector and a first label vector set of the target image;

applying the target image to a matching model and generating a first multi-mode feature vector of the target image through the matching model, the matching model being a model obtained through training according to a training image and reference image description information of the training image; and

generating target image description information of the target image according to the first multi-mode feature vector, the first global feature vector, and the first label vector set.

According to a second aspect of the present application, an embodiment of this application provides a computing device, including one or more processors, memory coupled to the one or more processors and a plurality of programs stored in the memory that, when executed by the one or more processors, cause the computing device to perform the image description generation method as described above.

According to a third aspect of the present application, an embodiment of this application provides a non-transitory computer readable storage medium storing a plurality of machine readable instructions in connection with a computing device having one or more processors, wherein the plurality of machine readable instructions, when executed by the one or more processors, cause the computing device to perform the image description generation method as described above.

