Error in C3W3 UNQ_C2

Hi, I’ve noticed an error in this line of code given in the cell:

plt.imshow(load_image(img_path, df[img], preprocess=False), cmap=‘gray’)

This line prevents the cell from running, even before getting to the graded section of the cell. Replacing df[img] with df[‘Image’] appears to solve the issue.

Hi @Mohammad_Amin_Sadegh,

Can you tell me in which code cell this is or preferably a screenshot of this ? Because I cannot find this particular line, which uses df[img]. They all use df.