Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
px4869 opened this issue Jun 4, 2020 · 1 comment

Comments

@px4869
Copy link

px4869 commented Jun 4, 2020

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 ?

@junyanz
Copy link
Collaborator

junyanz commented Jun 4, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants