diff --git a/dataset_loader.py b/dataset_loader.py index b798192..7388ded 100755 --- a/dataset_loader.py +++ b/dataset_loader.py @@ -15,7 +15,7 @@ def read_image(img_path): img = Image.open(img_path).convert('RGB') got_img = True except IOError: - print("IOError incurred when reading '{}'. Will redo. Don't worry. Just chill.".format(fpath)) + print("IOError incurred when reading '{}'. Will redo. Don't worry. Just chill.".format(img_path)) pass return img