Generative adversarial network based on semantic consistency for text-to-image generation