Skip to content

Commit 500bfbf

Browse files
committed
Fix typo
1 parent 5958538 commit 500bfbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def imread(path, grayscale = False):
4040
# Reference: https://github.com/carpedm20/DCGAN-tensorflow/issues/162#issuecomment-315519747
4141
img_bgr = cv2.imread(path)
4242
# Reference: https://stackoverflow.com/a/15074748/
43-
img_rgb = img[..., ::-1]
43+
img_rgb = img_bgr[..., ::-1]
4444
return img_rgb.astype(np.float)
4545

4646
def merge_images(images, size):

0 commit comments

Comments
 (0)