Giter VIP home page Giter VIP logo

Comments (2)

somewacko avatar somewacko commented on September 25, 2024

The generate function is a really hacky thing I wrote quickly to be able to create animations, and the Yale database is really a tacked-on afterthought that I did to try to find an open dataset, so I'm really not sure what happened from this stack trace alone.

The yaml files have different parameters for Yale though -- instead of "or" (orientation) and "em" (emotion), it's "lt" (lighting) and "ps" (pose). I think I also hard-coded the number of identities in there, so if your dataset is missing people or has extra people it might crash.

from deconvfaces.

kaihuchen avatar kaihuchen commented on September 25, 2024

Finally got it to work.

The following is a summary of what I had to do to make it work with the Extended Yale Face Database B:

  1. As mentioned above the parameters file needs to be changed to reference only valid ids
  2. The Yale DB uses different parameters (as mentioned above) so the parameters file needs to be updated accordingly.
  3. Earlier I trained only one identity yaleB30 which then produces all kinds of error during the generation phase. I decided to switch to consecutive identities from the top, i.e., yaleB01 , yaleB02 , and yaleB03, the errors then magically went away.
  4. It seems that the variable NUM_YALE_ID in generate.py is not getting automatically updated to the total number of identities as expected. If I manually hard-code it (which should be 3 in my test case) then all's well.

Hope this helps somebody.

@zo7 Many thanks for the help.

from deconvfaces.

Related Issues (12)

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.