Skip to content

Commit b621d40

Browse files
zsdonghaowagamamaz
authored andcommitted
Update visualize.py (#427)
1 parent 56335c5 commit b621d40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorlayer/visualize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
]
2626

2727

28-
def read_image(image, path='_.png'):
28+
def read_image(image, path=''):
2929
"""Read one image.
3030
3131
Parameters
@@ -44,7 +44,7 @@ def read_image(image, path='_.png'):
4444
return scipy.misc.imread(os.path.join(path, image))
4545

4646

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

0 commit comments

Comments
 (0)