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

Is it normal to use 2 black and white images?

Open Keiser04 opened this issue 1 year ago • 7 comments

During the training with the colorize mode, something caught my attention and that is that during the training it uses two black and white images when one is in color.

This should be the norm, right? imagen But this....? imagen imagen imagen

Keiser04 avatar Nov 06 '23 22:11 Keiser04

Check what your input_nc and output_nc values are. 1 is for grayscale, 3 is for RGB.

JustinasLekavicius avatar Dec 22 '23 11:12 JustinasLekavicius

is that I do not put those arguments

Check what your input_nc and output_nc values are. 1 is for grayscale, 3 is for RGB.

Keiser04 avatar Dec 24 '23 15:12 Keiser04

is that I do not put those arguments

Check what your input_nc and output_nc values are. 1 is for grayscale, 3 is for RGB.

Check if you put those arguments in your training configuration. If your input images are grayscale, use input_nc=1. If the images are colored, use input_nc=3

JustinasLekavicius avatar Dec 25 '23 13:12 JustinasLekavicius

is that I do not put those arguments

Check what your input_nc and output_nc values are. 1 is for grayscale, 3 is for RGB.

Check if you put those arguments in your training configuration. If your input images are grayscale, use input_nc=1. If the images are colored, use input_nc=3

no, I didn't use them, I used the ones that came with the colab and with the one to resume training, but nothing else.

Keiser04 avatar Dec 26 '23 01:12 Keiser04

or maybe they have defaults?

Keiser04 avatar Dec 26 '23 01:12 Keiser04

or maybe they have defaults?

It appears that for colorization dataset, the defaults are input_nc 1 and output_nc 2. So the issue may be somewhere else. T Checking the code and data you use for training would be useful.

JustinasLekavicius avatar Dec 26 '23 10:12 JustinasLekavicius

or maybe they have defaults?

It appears that for colorization dataset, the defaults are input_nc 1 and output_nc 2. So the issue may be somewhere else. T Checking the code and data you use for training would be useful.

If I change the output to 3 should it work?

Keiser04 avatar Jan 08 '24 16:01 Keiser04