Git Product home page Git Product logo

Comments (16)

HavenFeng avatar HavenFeng commented on July 29, 2024

Yes, you would need both, as we've described in the readme file.

from photometric_optimization.

hbinol avatar hbinol commented on July 29, 2024

Thank you for your answer.

The next question is how can I generate these .npy files? Is there any sample script for those applications (face_alignment & face_seg)?

from photometric_optimization.

JacksonL1 avatar JacksonL1 commented on July 29, 2024

Thank you for your answer.

The next question is how can I generate these .npy files? Is there any sample script for those applications (face_alignment & face_seg)?

my fork solves the custom image

from photometric_optimization.

hbinol avatar hbinol commented on July 29, 2024

Thank you so much @JacksonL1

Do you have any idea about how I can pick a point (or points) on the neck of the initial 3D mesh template and follow its trajectory during photometric optimization? In a nutshell, I want to know where are the neck points of the final mesh compared to 2D or 3D landmarks.

from photometric_optimization.

JacksonL1 avatar JacksonL1 commented on July 29, 2024

Thank you so much @JacksonL1

Do you have any idea about how I can pick a point (or points) on the neck of the initial 3D mesh template and follow its trajectory during photometric optimization? In a nutshell, I want to know where are the neck points of the final mesh compared to 2D or 3D landmarks.

I just know that at face-parsing.Pytorch project, the 14th part is neck.
use this part to generate the mask and calculate the photometric loss.
Hope answered your question

from photometric_optimization.

hbinol avatar hbinol commented on July 29, 2024

That's great! Thank you @JacksonL1

I need to solve the problem of distance calculation between a neck point and chin on the final 3D mesh.

from photometric_optimization.

JacksonL1 avatar JacksonL1 commented on July 29, 2024

I don't know how to get points on the neck. I'm sorry about that~

from photometric_optimization.

hbinol avatar hbinol commented on July 29, 2024

Hi @JacksonL1

For your work, I got an error like below

No such file or directory: './model/s3fd.pth'

I found that later, but now there is another missing file

/model/face_seg.pth

from photometric_optimization.

JacksonL1 avatar JacksonL1 commented on July 29, 2024

hi @hbinol
you can find the model at link extract code:1emq

from photometric_optimization.

JacksonL1 avatar JacksonL1 commented on July 29, 2024

@hbinol
if you can not use the Baidu Cloud, also can find the model at Google Cloud

from photometric_optimization.

hbinol avatar hbinol commented on July 29, 2024

@JacksonL1 I need access to Google Cloud. I believe I've already requested access.

from photometric_optimization.

JacksonL1 avatar JacksonL1 commented on July 29, 2024

@hbinol download official pre-train model and rename to face_seg.pth

from photometric_optimization.

yukangcao avatar yukangcao commented on July 29, 2024

@hbinol download official pre-train model and rename to face_seg.pth

Hi @JacksonL1 Thanks for your work.
I just met a problem 'Expected object of scalar double but got scalar type float for sequence element 4 when running your package. It comes from 'wj_fitting.py, line 175, in optimize'. Do you have any idea about this? Thank you.

from photometric_optimization.

JacksonL1 avatar JacksonL1 commented on July 29, 2024

@hbinol download official pre-train model and rename to face_seg.pth

Hi @JacksonL1 Thanks for your work.
I just met a problem 'Expected object of scalar double but got scalar type float for sequence element 4 when running your package. It comes from 'wj_fitting.py, line 175, in optimize'. Do you have any idea about this? Thank you.

I just run the code, it will run smoothly.
The error seems like data type is wrong. Could you show me the code near by 175 and full error message?

from photometric_optimization.

yukangcao avatar yukangcao commented on July 29, 2024

from photometric_optimization.

pfeducode avatar pfeducode commented on July 29, 2024

谢谢您的回答。
下一个问题是如何生成这些 .npy 文件?这些应用程序(face_alignment 和 face_seg)是否有任何示例脚本?

我的叉子解决了自定义图像

How to change the color of 3D mesh

from photometric_optimization.

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.