We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5958538 commit 500bfbfCopy full SHA for 500bfbf
utils.py
@@ -40,7 +40,7 @@ def imread(path, grayscale = False):
40
# Reference: https://github.com/carpedm20/DCGAN-tensorflow/issues/162#issuecomment-315519747
41
img_bgr = cv2.imread(path)
42
# Reference: https://stackoverflow.com/a/15074748/
43
- img_rgb = img[..., ::-1]
+ img_rgb = img_bgr[..., ::-1]
44
return img_rgb.astype(np.float)
45
46
def merge_images(images, size):
0 commit comments