show_landmarks seems to expect an already loaded image.
If image_name just contains the path to the image, you would have to load it e.g. via PIL.Image.open, and transform it to a tensor e.g. via torchvision.transforms.ToTensor().