You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The line 67 in unaligned_dataset.py
transform = get_transform(modified_opt)
the flag of grayscale is missing. Therefore, the code can not play with grayscale images.
I modified it with
transform = get_transform(modified_opt,grayscale=(self.opt.input_nc == 1)).
It can play with my grayscale images, now.
The text was updated successfully, but these errors were encountered:
The line 67 in unaligned_dataset.py
transform = get_transform(modified_opt)
the flag of grayscale is missing. Therefore, the code can not play with grayscale images.
I modified it with
transform = get_transform(modified_opt,grayscale=(self.opt.input_nc == 1)).
It can play with my grayscale images, now.
The text was updated successfully, but these errors were encountered: