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

error when running ManoHand_xml2mesh.py on the given samples #9

Open
tumble3eed opened this issue Dec 15, 2024 · 0 comments
Open

error when running ManoHand_xml2mesh.py on the given samples #9

tumble3eed opened this issue Dec 15, 2024 · 0 comments

Comments

@tumble3eed
Copy link

Thanks for your wonderful work!
However, I encoutered the following problem when trying the demo in ./samples:

$  python ./ManoHand_xml2mesh.py --xml_path ./samples/data.xml --mesh_path ./outputs/mesh.obj --part_path ./outputs/
dofValues : +0 +0.336588 +0.399647 +0 +0.544007 +0.377164 +0 +0.342275 +0.501948 -0.108498 +0.275122 +0.290949 +0 -0.872665 +0.0795779 +0 
fullTransform : (+0.747154 -0.625719 -0.087778 -0.206231)[+24.2139 -6.34088 -60.7976]
number of dofs: 23
palm
Traceback (most recent call last):
  File "./ManoHand_xml2mesh.py", line 1121, in <module>
    hand = HandManoGraspIt(hand_path, hand_file_type, scale, use_joint_limit=False, use_quat=True, use_eigen=False)
  File "./ManoHand_xml2mesh.py", line 573, in __init__
    self.read_eigen_grasp()
  File "./ManoHand_xml2mesh.py", line 597, in read_eigen_grasp
    self.lb_eigen[off] = -np.finfo(np.float64).max
IndexError: index 2 is out of bounds for axis 0 with size 2

It seems that root.iter('EG') has a length > 2, against to the assert "off == 2"
my environment settings are as follows:

MANO                      0.1
trimesh                   3.12.7
torch                     1.11.0+cu113
defusedxml                0.7.1
lxml                      5.3.0

By the way, I wonder what "mm" means and what is the difference between hand_mesh and hand_mesh_mm?

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