SinGAN icon indicating copy to clipboard operation
SinGAN copied to clipboard

How to deal with a single channel image

Open JLxiaocaiji opened this issue 5 years ago • 5 comments

Sorry to bother you, I saw how to deal with grayscale images, but could you tell me how to deal with single-channel images?I don't want to convert a single-channel image to a 3-channel image because I'm afraid that the results I get will be impressed by the number of channels. Thank you very much

JLxiaocaiji avatar Sep 21 '20 09:09 JLxiaocaiji

I've changed nc_z and training.py ,right?

JLxiaocaiji avatar Sep 21 '20 16:09 JLxiaocaiji

you should change nc_im to 1

tamarott avatar Sep 25 '20 07:09 tamarott

ohhhhhhhh,thank you so much for your reply, I have solved this problem. image

JLxiaocaiji avatar Sep 25 '20 08:09 JLxiaocaiji

哦,非常感谢您的答复,我已经解决了这个问题。 图片

How do you solve the problem of single channel image input training?

zhangkuncsdn avatar Feb 08 '21 01:02 zhangkuncsdn

Sorry to bother you, I saw how to deal with grayscale images, but could you tell me how to deal with single-channel images?I don't want to convert a single-channel image to a 3-channel image because I'm afraid that the results I get will be impressed by the number of channels. Thank you very much

What is the difference between a grayscale and a single channel image ?

sw5park avatar Jul 14 '21 16:07 sw5park