Consider the following Pytorch code:
1. x = torch.tensor([[-3.,2.,3.],[4.,-5.,7.],[20.,3.,2.]])
2. print(torch.mean(x,dim=0,keepdim=True))
The output of the code is:
A.
tensor([ 7., 0., 4.])
B.
tensor([[ -7., 10., -4.]])
C.
tensor([[ -7.],[7.],[4.]])
D.
tensor([ -7., 7., 3.])
E.
tensor([[7., 0., 4.]])
F.
tensor([[ 0.],[7.],[4.]])
A published solution is not available for this question yet.
Vector Quantized Variational Autoencoder (VQ-VAE) utilizes a discrete latent representation as
opposed to continuous latent spaces used in traditional VAEs. One of the key components of a VQ-
VAE is the codebook, which consists of a set of learnable vectors. What is the primary role of the
codebook in VQ-VAE?
A.
It performs the non-linear transformation of the input data to a higher
dimensional space.
B.
It regularizes the encoder by penalizing complex encodings.
C.
It provides a finite set of vectors which the encoder’s outputs are mapped to,
effectively quantizing the latent space.
D.
It decodes the quantized vectors back into the reconstructed input space.
A published solution is not available for this question yet.
Given two normalized embeddings from CLIP, I = [0.2, 0.5, 0.3, 0.4] for an image and T = [0.1, 0.6,
0.3, 0.7] for a text description, compute the CLIPScore(I,T).
A.
− 69%
B.
0%
C.
69%
D.
50%
A published solution is not available for this question yet.
You are designing an edge detection pipeline for noisy grayscale images. For each of the following
goals, choose the most appropriate filter or method:
1. Smooth out noise before any edge detection step
2. Detect edges by finding zero-crossings in the second derivative
3. Highlight regions with a strong intensity gradient
4. Perform basic edge detection with a simple directional gradient filter
A.
1 → Gaussian filter, 2 → Laplacian of Gaussian, 3 → First derivative of
Gaussian, 4 → Sobel operator
B.
1 → Sobel operator, 2 → Gaussian filter, 3 → Laplacian of Gaussian, 4 → First
derivative of Gaussian
C.
1 → First derivative of Gaussian, 2 → Sobel operator, 3 → Gaussian filter, 4 →
Laplacian of Gaussian
D.
1→Laplacian of Gaussian, 2→First derivative of Gaussian, 3→Sobel operator,
4→Gaussian filter
A published solution is not available for this question yet.
Classifier-free guidance is a technique used in diffusion models to improve sample quality without
the explicit use of a classifier. This technique involves modifying the sampling process based on a
control parameter. If the control parameter, denoted as γ, is set to zero, what effect does this have
on the generation process?
A.
It fails to generate realistic samples
B.
It removes all guidance, effectively making the process equivalent to the
unconditional generation.
C.
It maximizes the influence of the classifier, leading to highly detailed
generations.
D.
It can lead to more diverse samples compared to higher values of γ, as the
generation process is less constrained by the conditional information.
A published solution is not available for this question yet.
Weight change criterion is a method of ‘early stopping’ that checks whether or
not the error is dropping over epochs to decide whether to continue training or stop.
B.
L1 norm tends to create more sparse weights than L2 norm.
C.
During the training phase, for each iteration, Dropout ignores a random
fraction, p, of nodes, and accounts for it in the test phase by scaling down the activations by a
factor of p.
D.
A single McCulloch-Pitts neuron is capable of modeling AND, OR, XOR, NOR,
and NAND functions.
A published solution is not available for this question yet.
What is the size of the feature map after applying two successive convolution operations with
given parameters? Image size = 72×72, Kernel size = 5×5, Padding = 2 and Stride = 3. (In
calculation, take floor(x) whenever x is non-integer.If the answer is N × N, write just one value N in
the blank) __________________ .
A published solution is not available for this question yet.
Consider the BLIP model architecture with an input (image-text pair) as shown below:
For each of the entities given, enter the appropriate number from the figure that corresponds to
it:
Based on the above data, answer the given subquestions.
Self-Attention _______________
A published solution is not available for this question yet.
Consider the BLIP model architecture with an input (image-text pair) as shown below:
For each of the entities given, enter the appropriate number from the figure that corresponds to
it:
Based on the above data, answer the given subquestions.
BERT Text Encoder Bi Self Attention:__________________
A published solution is not available for this question yet.
Consider the BLIP model architecture with an input (image-text pair) as shown below:
For each of the entities given, enter the appropriate number from the figure that corresponds to
it:
Based on the above data, answer the given subquestions.
Image-Text Matching Loss (LITM ):__________________
A published solution is not available for this question yet.
Consider the BLIP model architecture with an input (image-text pair) as shown below:
For each of the entities given, enter the appropriate number from the figure that corresponds to
it:
Based on the above data, answer the given subquestions.
Image Grounded Text Encoder Bi Self Attention: ___________________
A published solution is not available for this question yet.
Consider the BLIP model architecture with an input (image-text pair) as shown below:
For each of the entities given, enter the appropriate number from the figure that corresponds to
it:
Based on the above data, answer the given subquestions.
A published solution is not available for this question yet.
Consider the BLIP model architecture with an input (image-text pair) as shown below:
For each of the entities given, enter the appropriate number from the figure that corresponds to
it:
Based on the above data, answer the given subquestions.
Image Grounded Text Encoder Cross Attention: _________________
A published solution is not available for this question yet.
Consider the BLIP model architecture with an input (image-text pair) as shown below:
For each of the entities given, enter the appropriate number from the figure that corresponds to
it:
Based on the above data, answer the given subquestions.
Image-Text Contrastive Loss (LITC): ____________
A published solution is not available for this question yet.
Consider the BLIP model architecture with an input (image-text pair) as shown below:
For each of the entities given, enter the appropriate number from the figure that corresponds to
it:
Based on the above data, answer the given subquestions.
A published solution is not available for this question yet.
Consider the BLIP model architecture with an input (image-text pair) as shown below:
For each of the entities given, enter the appropriate number from the figure that corresponds to
it:
Based on the above data, answer the given subquestions.
Causal Self Attention: _____________
A published solution is not available for this question yet.
Consider the BLIP model architecture with an input (image-text pair) as shown below:
For each of the entities given, enter the appropriate number from the figure that corresponds to
it:
Based on the above data, answer the given subquestions.
A published solution is not available for this question yet.
Consider the BLIP model architecture with an input (image-text pair) as shown below:
For each of the entities given, enter the appropriate number from the figure that corresponds to
it:
Based on the above data, answer the given subquestions.
Image Grounded Text Decoder Cross Attention: _____________
A published solution is not available for this question yet.