pix2pix icon indicating copy to clipboard operation
pix2pix copied to clipboard

how to solve The image that needs to be converted also can be a condition image?

Open px4869 opened this issue 5 years ago • 1 comments

in some case, The image that needs to be converted also can be also a condition image,but now this image should be consider once or twice at the process of torch.cat() at the generator ?

px4869 avatar Jun 04 '20 08:06 px4869

Do you mean an auto-encoder? You can still use torch.cat() if you don't want to change the code. But an unconditional discriminator D(G(x)) should also work (rather than using conditional discriminator D(G(x), x)). You need to change the input_nc for the discriminator.

junyanz avatar Jun 04 '20 08:06 junyanz