Open xuxiangsun opened 5 years ago
@carpedm20 Sir, i find that your code may not define 'im' in transform and center_crop function of utils.py. Can you help me?
In utils.py 105:return np.array(im.resize([resize_h, resize_w]), PIL.Image.BILINEAR)/127.5 - 1. Change to:cropped_image/127.5 - 1.
Hey guys, i was stuck in such bug :"UnboundLocalError: local variable 'im' referenced before assignment" when i train the code with celebA. Need Help!