Pix2Pix error when running combine_A_and_B script.
I just tried to run combine_A_and_B.py script, but got this error:
AttributeError: 'module' object has no attribute 'CV_LOAD_IMAGE_COLOR'
What's the problem? I'm using
Python 3.5
OpenCV3
I just tried to run combine_A_and_B.py script, but got this error:
AttributeError: 'module' object has no attribute 'CV_LOAD_IMAGE_COLOR'
What's the problem? I'm using
Python 3.5
OpenCV3
It's not about an issue of Pix2Pix model. It's about your OpenCV version.
You just need to change the way you read the image by putting another constants there
img_1 = cv2.imread(path_1, cv2.IMREAD_COLOR) # or 1