Open pengzhipz opened 6 years ago
@jakeret, Now I've solved this question, but the loss still can't converge, maybe for the rgb image? Is there any solution to slove this?
def _load_file(self, path, dtype=np.float32):
img = cv2.imread(path, cv2.IMREAD_GRAYSCALE)
img = img.resize((500, 376))
return np.array(img, dtype)
help me transform my data to grayscale and resize, how to write the code ?
We can't help you if you don't provide any kind of information