Code Monkey home page Code Monkey logo

Comments (7)

shuxjweb avatar shuxjweb commented on August 15, 2024

In the file of 'configs/latest.yaml', recon_s_w and recon_f_w are set 0, this is strange. Are the two reconstruction loss not used during training?

from dg-net.

juliendenize avatar juliendenize commented on August 15, 2024

@shuxjweb in the trainer you can check that at each iteration after several thousands iters the weights of these losses are increased up to a certain weight

from dg-net.

layumi avatar layumi commented on August 15, 2024

Hi @juliendenize ,
Sorry for the late response.

Yes. We detached the id embedding to prevent the gradient to E_appearance, which may compromise the re-id performance. The gradient of loss_gen_recon_f_a mainly works for optimising the decoder.

from dg-net.

layumi avatar layumi commented on August 15, 2024

Hi @shuxjweb

Sorry for the late reply. Actually, we use the losses in one warm-up manner., as @juliendenize mentioned.

from dg-net.

juliendenize avatar juliendenize commented on August 15, 2024

@layumi thank you for your answer. Indeed, I tried to remove the detach function and the GAN collapsed, so I get why you did that and it is truely inspiring. However, I don't see how the gradient of loss_gen_recon_f_a would optimize the decoder because both f_a_recon and f_a are detached.

from dg-net.

layumi avatar layumi commented on August 15, 2024

Thanks. @juliendenize Yes. You are right.
The gradient of loss_gen_recon_f_a would not optimize the decoder, due to the detach. I think I just left the api for ablation study two years ago.

from dg-net.

juliendenize avatar juliendenize commented on August 15, 2024

Thank you for your answers and your work

from dg-net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.