From ff819925c6f8c9c22f0c2a31559d8c468d40ec19 Mon Sep 17 00:00:00 2001 From: tingchunw Date: Wed, 6 Dec 2017 05:11:15 +0000 Subject: remove unnecessary imports --- data/image_folder.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'data/image_folder.py') diff --git a/data/image_folder.py b/data/image_folder.py index 16a447c..df0141f 100755 --- a/data/image_folder.py +++ b/data/image_folder.py @@ -4,12 +4,9 @@ # Modified the original code so that it also loads images from the current # directory as well as the subdirectories ############################################################################### - import torch.utils.data as data - from PIL import Image import os -import os.path IMG_EXTENSIONS = [ '.jpg', '.JPG', '.jpeg', '.JPEG', -- cgit v1.2.3-70-g09d2