GithubHelp home page GithubHelp logo

Comments (3)

MarekKowalski avatar MarekKowalski commented on July 16, 2024

Hi,

Here are my comments to your questions:

  1. My settings are set in the .theanorc file in the following way:
[global]
device=gpu
floatX=float32
  1. Ideally you would need to edit both, hard to say which one is more important. In general the edition of those meshes is quite difficullt to get right.

  2. I can think of two easy ways:
    a) Add a blendshape that closes the eyes. The issue of this method would be that in the source face there might be no texture corresponding to the eyelid region, because of that this method is prone to errors.
    b) Show the users real eyes instead of the eyes of the source face, just as is done with the mouth interior. To achieve this you would need to remove the parts of the mesh (the triangles) that correspond to the eye regions.

Marek

from faceswap.

oleg-mir avatar oleg-mir commented on July 16, 2024

thanks for the reply.
I've managed to run on GPU using the .theanorc as you suggested.

regarding the eyes:

  1. I've did what you've suggested and removed the mesh that correspond to the eye regions.
    But how do I get from the .obj to .npy ?

  2. which version of the candide did you use? i see in the 3.1.6 version eyes closed implementation:
    "# AUV6 Eyes closed (AU42/43/44/45)"

  3. I've checked all .npy files but i could find those numbers at the 3.1.6 version?
    I'm i missing something or did you use a different version?
    http://www.icg.isy.liu.se/candide/candide3.wfm

from faceswap.

MarekKowalski avatar MarekKowalski commented on July 16, 2024

Hi,

  1. You need to know the indices of the triangles you removed from the obj mesh and remove the corresponding rows of the mesh variable in zad2.py
  2. Here is a piece of code that converts the candide model file into the npz. It is a very messy piece of code, just saying ;)
  3. I don't really understand this question.

Marek

from faceswap.

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.