Method for converting pictures into Chinese ancient poems based on neural network model

A technology of neural network model and conversion method, which is applied in the field of conversion from images to ancient Chinese poems, and can solve problems such as lack of coherence in sentences, monotonous description sentences, obstacles for ordinary users, etc.

Active Publication Date: 2018-03-23
成都视海芯图微电子有限公司
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the current method of generating ancient poems based on the way of specifying subject words has great limitations. This method has high requirements for the selection of subject words. Only when the subject words are selected reasonably can the generated ancient poems be more reasonable. Many ordinary users cause obstacles; and this method is strictly constrained by the rules and models formulated by some experts, the sentences lack coherence, and the generated target verses are too rigid and lack flexibility
Currently, in the automatic generation of picture descriptions, only simple vernacular sentences are used to capture the content of the pictures for description, and the generated description sentences are monotonous and lack flexibility

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for converting pictures into Chinese ancient poems based on neural network model
  • Method for converting pictures into Chinese ancient poems based on neural network model
  • Method for converting pictures into Chinese ancient poems based on neural network model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The present invention will be further described below in conjunction with the drawings.

[0050] In this embodiment, a method for converting images based on neural network models to Chinese ancient poems, such as figure 1 As shown, it mainly extracts the semantic information of the input image as Chinese keywords and sequentially generates Chinese ancient poems describing the image according to the multi-modal cyclic neural network and the ancient poetry generation model. The specific steps are as follows:

[0051] Step 1. Collect existing Chinese ancient poems as a collection of poetry data Q={q 1 ,q 2 ,...,q i ,...,q n }, q i Indicates the i-th ancient Chinese poem, and has Represents the v-th character in the i-th ancient Chinese poem, i=1, 2,...,n, v=1,2,...,V i , The ancient Chinese poems collected in the collection of poetry data set Q are five-character poems and seven-character poems, totaling 50,000;

[0052] Acquire the picture resource and the sentence description...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for converting pictures into Chinese ancient poems based on a neural network model. The method includes the following steps of 1, collecting existing Chinese ancient poems to obtain a poem collection data set; collecting picture resources and sentence description resources corresponding to the picture resources to obtain a picture data set; 2, establishing a multi-mode recurrent neural network and training it to generate picture target description sentences; 3, mapping the target description sentences to Chinese key words; and 4, using long-term and short-termmemory networks to establish a Chinese ancient poem generation model and training the model so as to realize the conversion of the pictures to the Chinese ancient poems. The method automatically converts the pictures into the Chinese ancient poems capable of describing the pictures through a computer, gets rid of the limitation of subject words, and enables an ordinary user to generate a corresponding Chinese ancient poem by inputting a picture, thus, to a certain extent, the method can fill China's vacancy in the field of 'writing poems about pictures' with a machine.

Description

Technical field [0001] The invention relates to the field of information technology, in particular to a method for converting images based on a neural network model to Chinese ancient poems. Background technique [0002] Ancient Chinese poetry is the jewel in the crown of human literature. Since the "Book of Songs" in our country, the poems of the past two thousand years have been shining like stars. Letting machines automatically generate poems has always been a challenging task in the field of artificial intelligence. Humans can easily describe the content of an image, but this task is very difficult for computers. This requires the computer to be able to obtain the content of the image at the semantic level and organize and express the semantic information like humans. [0003] In recent years, deep neural networks have been popular in all directions in the field of artificial intelligence, subverting algorithm design ideas in many fields such as speech recognition, image clas...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/27G06F17/30G06N3/04G06N5/02
CPCG06F16/51G06N5/025G06F40/289G06N3/045
Inventor 刘学亮洪日昌汪萌郝世杰邢硕
Owner 成都视海芯图微电子有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products