For UNQ_C2, I didn’t pass because of this:
In Code Cell UNQ_C2, we expected code range (len(label)) and could not find it.
Code Cell UNQ_C2: Function ‘compute_gradcam’ is correct.
And I found that for that loop, since we will need to check whether the label name is in the selected_labels, so I actually use
for i, label_name in enumerate(labels):
That actually works and the result indeed shows that it is correct. I think the auto grader should also take this solution into consideration.