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 about RevGrad #17
Comments
Actually, both is right. Pytorch0.3 is implemented as 'Simultaneous Deep Transfer Across Domains and Tasks' ICCV2015. Pytorch1.0 is implemented as real Revgrad. |
Hi @easezyc, Thank you for your answer. If we have 3 domains, how can we use Revgrad? We would like to minimize the distance among the three source domains. Can you please help me? Thanks in advance.
I am confused with this part:
How can we do that? |
I did not try adversarial training for more than two domains. I think you can refer to some other references, e.g., Task-Adversarial Co-Generative Nets. |
Hi @easezyc ,
You provided both version of the implementation of RevGrad using Pytorch 0.3 and Pytorch 1.0.
In Pytorch 0.3 the code is like that
`class RevGrad(nn.Module):
and in Pytorch 1.0 the code is like that:
My question is which method is correct? If both methods are correct, can you please explain a bit. Thanks in advance.
The text was updated successfully, but these errors were encountered: