Code Monkey home page Code Monkey logo

Comments (7)

HoiM avatar HoiM commented on July 24, 2024 7

I am currently working on this project with PyTorch and PyTorch3D. Things are almost done except the settings of the camera so that the 8 transformation parameters can work with the rendered image. Now I hope the author could provide the parameters of the camera.

from nonlinear_face_3dmm.

invisprints avatar invisprints commented on July 24, 2024

@HoiM Hello, any progress?

from nonlinear_face_3dmm.

HoiM avatar HoiM commented on July 24, 2024

@HoiM Hello, any progress?

Got no reply from the author...

from nonlinear_face_3dmm.

invisprints avatar invisprints commented on July 24, 2024

@HoiM I am confused about the parameters of the camera you said. are they different from camera projection parameters?In the paper, it said "the camera projection parameters estimated by the encoder"

from nonlinear_face_3dmm.

chaoshiedwin avatar chaoshiedwin commented on July 24, 2024

I am currently working on this project with PyTorch and PyTorch3D. Things are almost done except the settings of the camera so that the 8 transformation parameters can work with the rendered image. Now I hope the author could provide the parameters of the camera.

Hi, did you find that the z-buffer kernel is not differentiable in the code? How can you resovle this problem with pytorch?

from nonlinear_face_3dmm.

HoiM avatar HoiM commented on July 24, 2024

@invisprints Maybe I was confused. The camera model used in the paper is weak perspective projection camera model. Based on my understanding, the 8 parameters can directly convert a 3D point to a plane. While in my implementation, I used the perspective projection camera model, where field of view, location of the camera in the world system, and the focal length must be set. Maybe the 8 parameters are already enough.

Please feel free to correct me if anything I said was wrong.

from nonlinear_face_3dmm.

HoiM avatar HoiM commented on July 24, 2024

@chaoshiedwin I switched to another work and successfully implemented the rendering process. Here the camera model is weak perspective model. But I used OpenGLPerspectiveCamera in PyTorch3D, where Z-buffer is not needed to be coded by hand.

Moreover, based on my understanding, z-buffer is more of like a mask where back-propagation is not needed.

from nonlinear_face_3dmm.

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.