facebookresearch / AnimatedDrawings

Code to accompany "A Method for Animating Children's Drawings of the Human Figure"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tA2xA2 is singular. perturbing...

thhung opened this issue · comments

Hello,

I prepared my character with your guidance in README, and correct the skeleton. After that I run:

python annotations_to_animation.py my_char_out

And we get:

point [[0.41860464 0.15813954]] not inside or on edge of any triangle in mesh. Skipping it
point [[0.41860464 0.06046511]] not inside or on edge of any triangle in mesh. Skipping it

then, it "freezes" from there.

From the logs, I could see that it seems it is in the loop of ARAP class. The last log is on the title, which means here.

Would you mind helping me understand what happens and how to solve it?

Does this only happen for a particular character? And if so, can you share the texture, mask, and joint overlay?

@hjessmith This is the only character that I tried. The mask is prepared by myself.
texture

mask

overlay

I'm not from looking at it why that would fair. Can you please share the actual files so I can run it myself? Also, try adding a border of 1px black pixels around the mask. If that fixes it, there's likely a bug somewhere I should address. So please let me know the outcome.

Same problem.There're four missing points in my own image when I use the mask fixed by myself. Is this a bug?
Here is my texture, mask, and joint overlay. Thanks!
mask
texture
joint_overlay

I'm not from looking at it why that would fair. Can you please share the actual files so I can run it myself? Also, try adding a border of 1px black pixels around the mask. If that fixes it, there's likely a bug somewhere I should address. So please let me know the outcome.

This works for me!