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
You will have to convert your grayscale image to 3D image as VGG takes 3 channel image as input. Also, you will have to change this line in utils.py img = transform(img)[:3, :, :].unsqueeze(0)
Can I use a grayscale image as the style image? There seems to be a channel problem. Do you know how to deal with it?
Thank you for your help~
The text was updated successfully, but these errors were encountered: