Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to train for gray image? #3

Open
aalala opened this issue Mar 29, 2021 · 1 comment
Open

how to train for gray image? #3

aalala opened this issue Mar 29, 2021 · 1 comment

Comments

@aalala
Copy link

aalala commented Mar 29, 2021

Thanks for sharing! the trainning code just for color image ,are there any instructions to use your code for training gray image?

@RaoUmer
Copy link
Owner

RaoUmer commented Mar 30, 2021

Hi, For the gray-scale, in the main_sr_color.py at code-line #L767, pass the color=False for the generator network settings, and for discriminator network setting, set the --in_nc as 1 at the #L43. Besides that, prepare the training and validation data according to gray-scale images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants