val.py
songtf525 opened this issue · comments
songtf525 commented
tmp = np.array(Image.open(L_path), dtype=np.uint32)/255
L_img = Image.fromarray(tmp)
transform_L = get_transform(self.opt, transform_params, method=Image.NEAREST, normalize=False,
test=self.istest)
L = transform_L(L_img)
why L is not same as A and B, and it is an error:
TypeError: Cannot handle this data type
Thankyou for your answers.