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

A question about setting f=f.detach() in ft_netAB #59

Open
RainbowShirlley opened this issue Sep 23, 2020 · 1 comment
Open

A question about setting f=f.detach() in ft_netAB #59

RainbowShirlley opened this issue Sep 23, 2020 · 1 comment

Comments

@RainbowShirlley
Copy link

Hi,
thank you for your code.
I have a question about the code 'f=f.detach()' in ft_netAB of reIDmodel.py.
Since f set to to be detached, then loss(4) in your paper will have two appearance codes which are both inable to backward,thus the loss with be useless. Moreover, since f is used to reconstruct images, then losses for image reconstruction will also have no effect for Ea's updating.
I'm so confused, thank you for your kind explanation!

@RainbowShirlley
Copy link
Author

Hello, can anybody help me with the question above? I'm really confused, and hope for rational explanation, thanks!

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