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

Less channels #39

Open
Night1099 opened this issue May 1, 2024 · 1 comment
Open

Less channels #39

Night1099 opened this issue May 1, 2024 · 1 comment

Comments

@Night1099
Copy link

Is there a way to do rgb to grayscale image

Train_A would be RGB
Train_B Would be grayscale

and want output to be grayscale

@GaParmar
Copy link
Owner

Hi,

Thank you for the interest in the project!
Yeah it should be possible to change the method to work with grayscale images!
There are two approaches you can take:

  • Concat grayscale images 3x along the channel axis to make it into 3 channel output
  • You can change the last conv layer to have 1 output channel instead of 3 output channels

-Gaurav

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