Coder Social home page Coder Social logo

Comments (8)

qiaosuobutouche avatar qiaosuobutouche commented on July 29, 2024

还有一个问题,我看到作者给出的损失函数包括reid的表征学习和度量学习的损失函数,是不是代表可以同时使用表征学习的loss函数和度量学习的loss函数来进行训练,这种方法效果会更好么?

from person_reid_baseline_pytorch.

layumi avatar layumi commented on July 29, 2024

你好。@qiaosuobutouche
是的。只做了 简单的 叠加 没有进一步调整权重。

是的。多种loss 只要目标相同 是能互相提升的。 比如 https://www.zdzheng.xyz/publication/A-discri2018 这一篇。

from person_reid_baseline_pytorch.

qiaosuobutouche avatar qiaosuobutouche commented on July 29, 2024

你好。@qiaosuobutouche 是的。只做了 简单的 叠加 没有进一步调整权重。

是的。多种loss 只要目标相同 是能互相提升的。 比如 https://www.zdzheng.xyz/publication/A-discri2018 这一篇。

三个loss函数加权,会不会导致初始loss较大,会有影响么,还是随着epoch增加,这种影响微乎其微?

from person_reid_baseline_pytorch.

layumi avatar layumi commented on July 29, 2024

你好。 是可能的。

  1. 一般可以通过调小lrRate等来实现。
  2. 以 分类loss为主loss,减小其他loss的权重,为辅助来弄。

from person_reid_baseline_pytorch.

qiaosuobutouche avatar qiaosuobutouche commented on July 29, 2024

你好。 是可能的。

  1. 一般可以通过调小lrRate等来实现。
  2. 以 分类loss为主loss,减小其他loss的权重,为辅助来弄。

感谢您的回复!

from person_reid_baseline_pytorch.

qiaosuobutouche avatar qiaosuobutouche commented on July 29, 2024

你好。 是可能的。

  1. 一般可以通过调小lrRate等来实现。
  2. 以 分类loss为主loss,减小其他loss的权重,为辅助来弄。

还有一个问题,我想问一下,两种loss结合使用,我看您都有放paper,例如ce+contarast是使用了您之前发表的孪生网络实现的,目前这个项目貌似已经不是使用孪生网络实现的了,请问三种loss结合使用有相关的paper么,loss函数是可以随意选择的吗

from person_reid_baseline_pytorch.

layumi avatar layumi commented on July 29, 2024

哦哦 可能2017年左右还算比较新。
现在可能更偏实践trick 一些了。 看哪些loss更好 就可以选择。

from person_reid_baseline_pytorch.

qiaosuobutouche avatar qiaosuobutouche commented on July 29, 2024

哦哦 可能2017年左右还算比较新。 现在可能更偏实践trick 一些了。 看哪些loss更好 就可以选择。

感谢您的回复

from person_reid_baseline_pytorch.

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.