Giter Site home page Giter Site logo

loss居高不下 about tripletloss HOT 8 CLOSED

zhangfudiyi avatar zhangfudiyi commented on June 26, 2024
loss居高不下

from tripletloss.

Comments (8)

luhaofang avatar luhaofang commented on June 26, 2024

需要做人脸的alignment,crop然后作为输入进行训练。
softmax要调整参数训练,如果不收敛,建议你finetune。
还有看看你的test准确率吧。

from tripletloss.

zhangfudiyi avatar zhangfudiyi commented on June 26, 2024

我已经微调很多次了,测试精度为0,可能原因是我没有alignment,我将先将图片进行处理一下,谢谢你的建议! thank you so much ! @pinguo-luhaofang

from tripletloss.

zhangfudiyi avatar zhangfudiyi commented on June 26, 2024

再来感谢一下你 @pinguo-luhaofang !第一次学卷积神经网络,第一次跑人脸识别程序,终于搞出来了,测试多张图片,结果杠杠的好。虽然我还没有加tripletloss,但是这个softmax已经很强大了!继续学习!谢谢啦!

from tripletloss.

dianxin556 avatar dianxin556 commented on June 26, 2024

@zhangfudiyi ,你好,我遇到了你最开始说的,loss在3-8之间徘徊的情况,请问你是怎么解决的?

from tripletloss.

zhangfudiyi avatar zhangfudiyi commented on June 26, 2024

我就是微调了他给的数据模型,也就是他说的finetune。你要知道怎么去复制他训练好的参数,他有给我们下载地址,你下载就好了,在model里面。 @dianxin556

from tripletloss.

dianxin556 avatar dianxin556 commented on June 26, 2024

要改他里面的哪些参数?我把里面的lr_mult和decay_mult都设置成1,就出现了上面你说的那种情况。 @zhangfudiyi

from tripletloss.

zhangfudiyi avatar zhangfudiyi commented on June 26, 2024

你不会不知道怎么finetune吧!不要全部改,看你想微调那一层,你全改了那相当于你全部随机了参数,我只训练了最后全连接层,你先看看怎么finetune,你知道这个了,你肯定就知道怎么改了。我也不知道我说的对不对,个人理解而已。 @dianxin556

from tripletloss.

dianxin556 avatar dianxin556 commented on June 26, 2024

好的,谢谢! @zhangfudiyi

from tripletloss.

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.