Handle no images in dataset