Skip to content

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

@RainbowShirlley

Description

@RainbowShirlley

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions