Giter Club home page Giter Club logo

Comments (11)

XiangyuWu avatar XiangyuWu commented on July 24, 2024 1

@shliang0603 adding -aus to your command line. For linux platform, my command line is:
./FaceLandmarkImg -fdir path_to_images -out_dir path_for_generated_files -aus

from ganimation.

XiangyuWu avatar XiangyuWu commented on July 24, 2024

I think it is FaceLandmarkImg rather than FeatureExtraction that you should use.

from ganimation.

xiaoiker avatar xiaoiker commented on July 24, 2024

@XiangyuWu You are right. BTW, is there something wrong with the content[2:19] in prepare_au_annotations.py? why not content[1:18]?

from ganimation.

XiangyuWu avatar XiangyuWu commented on July 24, 2024

@xiaoiker I don't know how does your question come. In my csv file, content[0] is face, content[1] is confidence, and form content[2] to content[18] is exactly the value of action unit.

from ganimation.

xiaoiker avatar xiaoiker commented on July 24, 2024

@XiangyuWu Sorry, my fault. Thanks very much for pointing out.

from ganimation.

shliang0603 avatar shliang0603 commented on July 24, 2024

@XiangyuWu Hi,Xiangyu Wu,Can you send me your the command line of generation AU(action unit).
In my file, generation AU is between 679 column and 696 column

from ganimation.

shliang0603 avatar shliang0603 commented on July 24, 2024

@XiangyuWu Thanks for your answering, I will try again

from ganimation.

ilovecv avatar ilovecv commented on July 24, 2024

Hi Xiangyu, did you find the detected AU results from OpenFace are different from the labels provided in aus_openface.pkl in the sample dataset?

For example, for N_0000000356_00190.jpg, the labels provided by aus_openface.pkl are:
[2.86, 2.27, 1.45, 1.1 , 0. , 0.65, 0.05, 0. , 0.75, 1.65, 0.6 , 0. , 1.86, 0. , 0.62, 0.25, 0. ],
while the detected results from OpenFace are:
[0.48, 0. , 0. , 1.47, 0.23, 0.06, 0. , 0.72, 0.48, 1.36, 0.3 , 0. , 1.76, 0. , 0.44, 0.78, 0. ].

I used the command: ./bin/FaceLandmarkImg -fdir GANimation/sample_dataset/imgs -out_dir GANimation/sample_dataset/features -aus

Thank you very much! @XiangyuWu

from ganimation.

XiangyuWu avatar XiangyuWu commented on July 24, 2024

@ilovecv I didn't pay attention to it, and I tested it just now, the same problem happened to me. I don't know why such differences exist.

from ganimation.

shliang0603 avatar shliang0603 commented on July 24, 2024

@ilovecv Unfortunately, it is really difficult to ensure the same exact numerical results when using different compilers (e.g. see https://stackoverflow.com/questions/16395615/is-there-any-way-to-make-sure-the-floating-point-arithmetic-result-the-same-in-b), the differences will come from compilers optimizing code differently and possibly different versions of libraries used with different optimization settings (e.g. OpenCV)

from ganimation.

albertpumarola avatar albertpumarola commented on July 24, 2024

Closed for inactivity

from ganimation.

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.