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

Question Regarding the Combination of DMT and TSIT #6

Open
DDKdakuan opened this issue Nov 27, 2024 · 2 comments
Open

Question Regarding the Combination of DMT and TSIT #6

DDKdakuan opened this issue Nov 27, 2024 · 2 comments

Comments

@DDKdakuan
Copy link

We observed that the authors effectively combined DMT with TSIT in both the paper and the code, achieving impressive overall results for DMT. During the "inference" stage, we noticed that for the TSIT model, both noisy_input_semantics and noisy_real_image are used to estimate the fake_image. However, my question is that during the "inference" stage, it seems that noisy_real_image cannot be directly obtained. Could the authors kindly elaborate on how this was considered and handled in this specific context?

In dmt_model line46
“elif mode == 'inference':
with torch.no_grad():
fake_image, _ = self.generate_fake(noisy_input_semantics,
noisy_real_image)
batch_size = fake_image.shape[0]

@thuxmf
Copy link
Collaborator

thuxmf commented Nov 27, 2024

Thanks for following our work! We directly modify the codes from TSIT without any structural changes. In TSIT, the generator will be fed in with a sample from target domain for style extractor. Therefore, it would be proper to apply similar input.

@DDKdakuan
Copy link
Author

Thank you so much for your detailed response! I have an additional question—when using TSIT and DMT, do TSIT and pix2pix rely solely on a generator, or do they also incorporate a discriminator, similar to the traditional GAN training process?

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