Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in SDF LOSS #44

Open
ocissor opened this issue Dec 2, 2022 · 0 comments
Open

Problem in SDF LOSS #44

ocissor opened this issue Dec 2, 2022 · 0 comments

Comments

@ocissor
Copy link

ocissor commented Dec 2, 2022

Hi, I am trying to use your SDF loss function implementation for my project. I am facing an issue described below

#CODE SNIPPET
import sdf
sdf_loss = sdf.sdf_loss.SDFLoss(np.array(human_parameters['faces'].detach().cpu()))
translations = torch.ones((num_people,3), device = 'cuda:0')
vertices = params['pred_vertices']
sdf_loss(vertices,translations)

There are people in the image and I have generated the vertices and faces of those people. I want to calculate the sdf loss function value when all have identical translations ( that is same tx, ty, and tz) and this loss is coming out to be zero I don't understand why because if all the people have the same translation values there is overlap and that implies there are collisions but why is the sdf loss value zero?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant