pytorch-CycleGAN-and-pix2pix icon indicating copy to clipboard operation
pytorch-CycleGAN-and-pix2pix copied to clipboard

IR to RGB method help

Open songyn95 opened this issue 3 years ago • 4 comments

I have paired IR and RGB traffic images (video sequences). My goal is to achieve IR colorization at night. The effect is the same as that of RGB in the daytime. I have tried many methods, such as cyclegan, pix2pix, pix2pixHD, vid2vid, few shot vid2vid, etc.

Since there are many traffic scenario, the traffic scenarios in different areas are different, and my dataset scenarios are limited, I would like to ask which method is the most appropriate and has the best generalization ability? Among the results of my current attempts, pix2pixHD works well, but after changing the scene, the effect is not good. Do you have any reasonable suggestions? Thank you very much for your reply!!

songyn95 avatar Jun 14 '22 11:06 songyn95

Most of the methods tend to overfit the training set if you have limited data. You may consider applying data augmentation to combat model overfitting.

junyanz avatar Jun 14 '22 19:06 junyanz

@junyanz So which method (including but not limited to) do you think is more suitable for the scenario I described?

songyn95 avatar Jun 15 '22 00:06 songyn95

It may not be so related to the models you are using. You need to either experiment with different types of data augmentation or expand your dataset.

junyanz avatar Jul 04 '22 17:07 junyanz

At present, I want to color infrared video. Is there any good way?

songyn95 avatar Jul 22 '22 08:07 songyn95

You can try fewshot vid2vid. If you have a smaller dataset, you need to reduce the network's capacity as well. It's hard to make any above methods work out of the box.

junyanz avatar Oct 04 '22 21:10 junyanz