Q1.Consider the following code for Class Activation Maps. Which layer(s) of the model do we choose as outputs to draw out the class activation map ? Check all that apply.
The layer which performs concatenation in the model
The layer which feeds input to the model
The layer which holds the extracted features in the model
The layer which performs classification on the model
Question 2
To compute the Class Activation Map you ____________.
Take the dot product of the features and the output of the classification vector.
Take the dot product of the features associated with the prediction on the image, with the weights that come from the last global average pooling layer.
Take the dot product of the weights associated with the prediction and the output of the classification vector.
Question 3
In a Salience map you get to see parts of the image the model was paying attention to when deciding what class to assign to the image.
True
False
Question 4
In Saliency Maps, the pixels that most impact the final classification are found by looking at the gradients of the final layers to see which ones had the steepest curve, and figure out their location and plot them on the original image.
True
False
Question 5
Which of the following statements are not true about GradCAM? Check all that apply.
The negative values in the heatmapof the gradCAM are kept as they enhance the performance and accuracy of the gradCAM.
You stack the filter outputs on the final layer into a heatmap by calculating the mean of those values.
The gradients of the loss are computed with respect to the selected layer’s output and averaged out across all feature maps.
The model built to perform the task uses the last two layers of the original model as the outputs.
Q1.Consider the following code for Class Activation Maps. Which layer(s) of the model do we choose as outputs to draw out the class activation map ? Check all that apply.
Answer:
The layer which holds the extracted features in the model
The layer which performs classification on the model
Question 2
To compute the Class Activation Map you ____________.
Answer:
Take the dot product of the features associated with the prediction on the image, with the weights that come from the last global average pooling layer.
Question 3
In a Salience map you get to see parts of the image the model was paying attention to when deciding what class to assign to the image.
Answer:
False
Question 4
In Saliency Maps, the pixels that most impact the final classification are found by looking at the gradients of the final layers to see which ones had the steepest curve, and figure out their location and plot them on the original image.
Answer:
True
Question 5
Which of the following statements are not true about GradCAM? Check all that apply.
Answer:
The negative values in the heatmapof the gradCAM are kept as they enhance the performance and accuracy of the gradCAM.