Giter VIP home page Giter VIP logo

dsfnet's People

Contributors

lhyfst avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dsfnet's Issues

training loss

3DMM's shape_para, exp_para, and Tm values are very large, causing a large loss in the early stages of training. How can this be addressed?

loss.py benchmark_FOE function

Where to obtain “../SynergyNet/aflw2000_data/eval/ALFW2000-3D_pose_3ANG_excl.npy” and '../SynergyNet/aflw2000_data/eval/ALFW2000-3D_pose_3ANG_skip.npy'

Replace BFM with FLAME?

I am really looking forward to checking out a demo for this repo. Is it possible to swap any reference of the BFM to the FLAME model, so it can be used for commercial purposes without having to pay for a $10k BFM license?

code release date

Hi, Greate work?

May I know when the code will be released?

Regards,

uv_triangles Path in the DFSNet/src/dataset/uv_face.py

I want to visualize the created meshes through MeshLab from the out['face_uvm']. I need to change this UV map to a mesh using the provided code. But I couldn't find uv_triangles path in the code. What should be the path to it. Below is the code I am using:

Code

import numpy as np
import trimesh

def uvm2mesh(uv_position_map, only_foreface=True, is_extra_triangle=False):
    """
    If no texture map is provided, translate the position map to a point cloud
    :param uv_position_map:
    :param only_foreface:
    :param is_extra_triangle:
    :return:
    """
    uv_h, uv_w = UV_MAP_SIZE, UV_MAP_SIZE
    vertices = []
    colors = []
    triangles = []
    triangles = [[t[0] * uv_w + t[1], t[4] * uv_w + t[5], t[2] * uv_w + t[3], ] for t in uv_triangles]
    for i in range(uv_h):
        for j in range(uv_w):
            vertices.append(uv_position_map[i][j])
            colors.append([25, 25, 50, 128])

    vertices = np.array(vertices)
    triangles = np.array(triangles)
    colors = np.array(colors)
    face_mesh = trimesh.Trimesh(vertices=vertices, faces=triangles)

    return face_mesh

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.