Menu

Displaying Sample Images

Displaying Sample Images

Visualizing the dataset helps understand the images before training.

Code

plt.imshow(X_train[0])
plt.show()

Explanation

This displays the first image in the training dataset. Displaying sample images helps learners understand the different categories available in the dataset.


Building an Image Classification System Using CNN

VA

Vishalini A





Get in Touch For Details