junyanz / pytorch-CycleGAN-and-pix2pix

Image-to-Image Translation in PyTorch
Other
22.44k stars 6.23k forks source link

Colorization problem #1427

Open songyn95 opened 2 years ago

songyn95 commented 2 years ago

Hello, I want to convert infrared images at night into RGB. It is required that the effect of RGB should be consistent with that during the day.

Look forward to your reply!

junyanz commented 2 years ago

It seems that your problem setting is quite different from colorization in which the goal is to predict ab channels given the L channel. If you have paired datasets, I will just use --model pix2pix and set --input_nc and --output_nc properly.

songyn95 commented 2 years ago

@junyanz thanks, for your reply. Now I use the pix2pixHD method to verify, and the effect is very good, but the scene is very single. I have a problem: I want to convert IR to RGB, and the scene is traffic. Because the distribution of different traffic roads is certainly different, and I can't have all the traffic scene data sets for training, so what do I need to do to ensure better results?