Hi, apologies for this newbie question, but I’ve been struggling with this for some time.
this code displays a single image:
img = plt.imread(f'{PATH}train/{files[i]}')
plt.imshow(img);
how would i display the first 10 images in my train folder?
this is the code I’ve tried, to no avail:
img = plt.imread(f’{PATH}train/{files[i]}’)
for i in range(0,10):
plt.imshow(img);
Thanks and much appreciated!
Ian