Giter Club home page Giter Club logo

dul-pytorch's People

Contributors

jielu361 avatar ontheway-361 avatar ontheway361 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dul-pytorch's Issues

使用webface训练结果较差

您好,我使用了分类的dul在webface上进行训练,将batchsize和lr由512和0.1调整为128和0.025,在Lfw上进行测试,但是acc只能达到83%,请问这是什么原因呢

Dataset

Hi, could you share me the training and tesing dataset?

A question about code

Wonderful job!I studied your paper these days, which is very enlightening to me. I try to use the data uncertainty in my research.
I have a question about the caculation of the variance. In your code, you use the
var = F.normalize(torch.exp(self.var_head(x))), to process the variance predicted by network. I guess the torch.exp() is used to guarantee the positive of the variance. The F.normalize() I guess is simliar to the L2-normalization for the feature to make the network converge better.
I do not know this understanding is right? Thank you.

A question about the code

Hi, it's really a nice job.
After reading this code, i have a question about the training stage. In line 118~120 of train.py file, if in training stage, the feat_mu represents the sample s(i). But when calculating the loss on line 120, the third parameter of criterion function needs the mu(i), not the sample s(i) named feat_mu.
I wish i made myself clear. Looking forward to your reply, thanks.

A question about the code

Hi, your paper is really great and I am trying to understand the code a bit more. When two images are passed through the network, The network should be producing two wmbeddings right? What are the steps after that? I am a bit confused in this part.

errors about the faceloss.py

Hi, I am learning your paper, and in your released code of faceloss.py. I found some parameters/function could not be found for hardmining.
line 29: label
line 31: batch_size
line 32: ind_sorted
line 33: pred, label

kl_lambda设置为0.01的影响

你好,我用你的代码在ms1m数据集上训练两个版本,一个kl_lambda设置为0,一个为0.01,发现两种设置对测试精度的影响不大,请问您给一些建议吗 @jielu361

ms1m_images.txt文件如何生成

您好,请问ms1m_images.txt的每一行是什么样的结构呢?能否分享一下根据数据集生成.txt文件的代码呢?

about Regression-based DUL

Thanks for your code on classificition-based DUL.
And when will you update the code about regression-based DUL.

Question about fc_weights attribute

Hi!

I've been reading through your code base and I got the following question, where is fc_weights parameter is initiated?

fit_loss = (self.fc_weights[labels] - mu).pow(2) / (1e-10 + torch.exp(logvar))

I suspect that it should be center attribute. Could you please comment on that?

About the Regression-based DUL for FR

Hi, a really nice repo.
After reading your code, I only found Classification-based DUL for FR , but not Regression-based DUL for FR. do you plan to share this part? thanks a lot.

about DUL KL-loss

I have used this code for training. The arcface can converge normally, but the kl loss does not decrease. And the trained var-branch has no effect.

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.