SRGAN icon indicating copy to clipboard operation
SRGAN copied to clipboard

Question about channel size doesn't equal to 3

Open thinkingfl opened this issue 6 years ago • 2 comments

I want to apply this model to grayscale image (which do not have rgb values), where to change the channel or training input size?

thinkingfl avatar Sep 18 '19 14:09 thinkingfl

Hi! I tried to change the input file from grayscale to RGB and it works. Please see the attached. Hope it works for you! https://github.com/lunayang712/srgan_grayscale

lunayang712 avatar Sep 18 '19 19:09 lunayang712

Thanks

On Sep 18, 2019, at 2:41 PM, lunayang712 <[email protected]mailto:[email protected]> wrote:

Hi! I tried to change the input file from grayscale to RGB and it works. Please see the attached. Hope it works for you! https://github.com/lunayang712/srgan_grayscale

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/tensorlayer/srgan/issues/176?email_source=notifications&email_token=AFJMYK3PMOBAM4T7FRRAWOTQKJ77FA5CNFSM4IX733YKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7BG4WY#issuecomment-532835931, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFJMYK3C4VLDWH6UPZ6LEKTQKJ77FANCNFSM4IX733YA.

thinkingfl avatar Sep 18 '19 19:09 thinkingfl