AI image generation models create pictures by learning from many examples. What is the main way these models learn to produce new images?
Think about how learning from examples helps create something new, not just copying.
AI image generation models learn patterns and features from many images. They do not memorize or copy exactly but create new images by combining learned features.
Given this simplified code snippet that generates a 2x2 pixel image with random colors, what is the shape of the output array?
import numpy as np image = np.random.rand(2, 2, 3) print(image.shape)
Remember the shape format for images is height, width, and color channels.
The output shape (2, 2, 3) means 2 pixels height, 2 pixels width, and 3 color channels (RGB).
You want to generate realistic images from text descriptions. Which AI model type is best suited for this task?
Think about models that can create new images and learn from text descriptions.
GANs trained on image-text pairs can generate realistic images from text prompts by learning to create images that match descriptions.
Which metric is commonly used to measure how realistic AI-generated images are compared to real images?
This metric uses a pre-trained image classifier to evaluate generated images.
Inception Score measures the quality and diversity of generated images using a pre-trained classifier, making it popular for image generation evaluation.
During training of an AI image generator, the loss stays very high and images look like noise. Which issue is most likely causing this?
Think about what causes training to fail to improve and produce noise.
A very high learning rate can cause the model to jump around the solution space and never converge, resulting in high loss and noisy images.