image = ds.images[0].numpy() # Fetch an image and return a numpy array
labels = ds.labels[0].data() # Fetch the first labels
img_array = ds.images[0:100].numpy() # Fetch 100 images and return a numpy array
# The method above produces an exception if
# the images are not all the same size
img_list = ds.labels[0:100].numpy(aslist=True) # Fetch 100 labels and store
# them as a list of numpy arrays