GithubHelp home page GithubHelp logo

Comments (11)

happynear avatar happynear commented on August 15, 2024

Don't use that. I never got success in training the "mnist_siamese_train_test.prototxt" model.

I suggest you to download CASIA-Webface, clean the dataset with the list I provided, and train it using center-face (https://github.com/ydwen/caffe-face). If everything works fine, you will get ~99% on LFW.

from faceverification.

sanjanajainsj avatar sanjanajainsj commented on August 15, 2024

Hello Sir,
Thank you for your reply. I have a few questions:

  1. I have already downloaded the washed-up Casia-WebFace dataset. Which list should I be using to clean the dataset?
  2. I was planning to train a Siamese model for face verification and the model from caffe-face (https://github.com/ydwen/caffe-face) seems to be a single-cnn model. If possible, could you suggest a Siamese network for face verification.
  3. Also, I was going through one of the issues (#22), where you provided the caffemodel, meanfile and deploy.prototxt. However, the deploy.prototxt file ends at the dropout layer, I am confused how do we get an output as we do not have any output layer like softmax, etc.

from faceverification.

happynear avatar happynear commented on August 15, 2024
  • If you downloaded the washed dataset, there is no need to use the list again.

  • Currently I don't see successful open-source Siamese network for face verification, just use center-face. If you see the DeepID2 paper, you will find that optimizing the inter-class variance only could already lead to very good performance.

  • deploy.prototxt is for extracting features, you may just add an innerproduct layer and a softmax layer afer it to train a model.

from faceverification.

sanjanajainsj avatar sanjanajainsj commented on August 15, 2024

Hello Sir,
Thank you for your reply. I have a few questions regarding this:

  1. I tried to finetune your model with another dataset of unaligned images. I am using "CASIA_train_test.prototxt", "mnist_siamese_solver.prototxt" and the model you provided in #22 . I tried with 100,000 iterations and my loss did not decrease since the start. I am getting a testing loss of 4.72074 and testing accuracy of 0.0072. I am labeling the dataset like this:

/home/.../dataset/subject1/img1 1
/home/.../dataset/subject1/img2 1
/home/.../dataset/subject2/img1 2
/home/.../dataset/subject2/img2 2
...

Is this the correct way to label the dataset?

  1. I am planning to train the models for both your cnn and center-face from scratch. How should the labeling be done?

from faceverification.

happynear avatar happynear commented on August 15, 2024

Your labels are good, both for CASIA_train_test.prototxt and center-face.

from faceverification.

sanjanajainsj avatar sanjanajainsj commented on August 15, 2024

Hello Sir,
What could be the reason for the loss not decreasing and accuracy of 0.0072? I tried training Casia from scratch and I am getting similar results. I tried for 70k iterations and it had loss of 4.26 and accuracy of 0.0072.

from faceverification.

baby313 avatar baby313 commented on August 15, 2024

Hi Sir,
I followed your suggestion and center-face. However, the memory cost is too much to train 256/batch. As a result, I change it to 128, but the center_loss did not decrease :( I intended to do face matching on phone and realize that center_face may be too heavy (Speed and Model Size) to do so. Do you have any suggestion for face matching on phone? DeepID2 is the best choice I have found currently and do you know other better options?

from faceverification.

sidgan avatar sidgan commented on August 15, 2024

@sanjanajainsj Could you provide a link to the cleaned dataset.

from faceverification.

sanjanajainsj avatar sanjanajainsj commented on August 15, 2024

@sidgan I found the cleaned dataset on this link: http://pan.baidu.com/s/1jIqBIcu and the password is eb7h

from faceverification.

sidgan avatar sidgan commented on August 15, 2024

For me this page does not translate to English, I tried a lot of online translation tools, and I don't know Chinese. Additionally, the Baidu installer only has Chinese. So, for me that isn't helpful either. Do you know of a workaround to this?

from faceverification.

yao5461 avatar yao5461 commented on August 15, 2024

@sanjanajainsj Hi, the link has been invalid, any other accessible links? Thanks!

from faceverification.

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.