summaryrefslogtreecommitdiff
path: root/data/image_folder.py
diff options
context:
space:
mode:
authortingchunw <tingchunw@nvidia.com>2017-12-06 05:11:15 +0000
committertingchunw <tingchunw@nvidia.com>2017-12-06 05:11:15 +0000
commitff819925c6f8c9c22f0c2a31559d8c468d40ec19 (patch)
tree40d69ea5fb292be51628e95460a14bb38661ccc1 /data/image_folder.py
parentd101ebf83288b7dc994118ee6dd8857583beaecb (diff)
remove unnecessary imports
Diffstat (limited to 'data/image_folder.py')
-rwxr-xr-xdata/image_folder.py3
1 files changed, 0 insertions, 3 deletions
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',