ianweb100:

FaceLandmarksDataset


seems that you are following the tutorial that uses skimage.io to read the image which returns a numpy array, or some other object. You will either need to transform the image to PIL or, replace skimage  imread with PIL image open, something like:
from PIL import Image
image = Image.open(img_name)