Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tensorlayer/visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
]


def read_image(image, path='_.png'):
def read_image(image, path=''):
"""Read one image.

Parameters
Expand All @@ -44,7 +44,7 @@ def read_image(image, path='_.png'):
return scipy.misc.imread(os.path.join(path, image))


def read_images(img_list, path='_.png', n_threads=10, printable=True):
def read_images(img_list, path='', n_threads=10, printable=True):
"""Returns all images in list by given path and name of each image file.

Parameters
Expand Down