Skip to content

Some implementation details about the official code #28

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

Open
Haosouth opened this issue Jul 1, 2022 · 0 comments
Open

Some implementation details about the official code #28

Haosouth opened this issue Jul 1, 2022 · 0 comments

Comments

@Haosouth
Copy link

Haosouth commented Jul 1, 2022

Thank you very much for implementing swappingGAN in a very concise way. I believe you have a deep understanding of the official code. I am trying to understand the official code implementation, but I have encountered difficulties in some codes and cannot be solved. 1. I learned that the optimizer uses swapping_autoencoder_optimizer by default. This class uses a def prepare_images(data_i), but only returns data_i['real_A'], which does not seem to use 'real_B'. 2. In the subsequent self.E(real) process, sp and gl are output, and their mix=self.G(self.swap(sp),gl), why does the sp and gl used by mix come from the same sheet Image, shouldn't it be from real_A and real_B respectively, and what is the purpose of this self.swap(sp)? The above is my question. I am very sorry to bother you. If you are free, I hope you can answer my doubts. Thank you very much.

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

1 participant