How to view images in dataset of lesson one

** path = untar_data(URLs.CAMVID_TINY )**
after downloading data how to view it colab cell

untar_data() return a path.
if you want to take a look at the data you can-
print(URLs.CAMVID_TINY)
which will return a link.
If you go to that link, the dataset will start downloading which you can unzip and take a look at the data.

1 Like

hi, you can do:
img_files = get_image_files(path)

now img_files is a list with paths of your images.
In a cell you can do:
PILImage.create(img_files[n])

to view the image n, where n is a number from 0 to len(img_files) - 1

1 Like