tf_unet icon indicating copy to clipboard operation
tf_unet copied to clipboard

Why my loss is always increasing?

Open pengzhipz opened this issue 7 years ago • 3 comments

pengzhipz avatar Mar 11 '18 16:03 pengzhipz

We can't help you if you don't provide any kind of information

jakeret avatar Mar 12 '18 11:03 jakeret

@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?

pengzhipz avatar Mar 12 '18 14:03 pengzhipz

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 ?

pengzhipz avatar Mar 13 '18 11:03 pengzhipz