You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think you're doing a good job, but I'm running the generate_grasps.py and I'm getting an error:
Traceback (most recent call last):
File "/home/josie/miniconda3/envs/dexgraspnet/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/home/josie/DexGraspNet/grasp_generation/scripts/generate_grasps.py", line 70, in generate
initialize_convex_hull(hand_model, object_model, args)
File "/home/josie/DexGraspNet/grasp_generation/utils/initializations.py", line 58, in initialize_convex_hull
closest_points, _, _ = mesh_origin.nearest.on_surface(p.detach().cpu().numpy())
File "/home/josie/miniconda3/envs/dexgraspnet/lib/python3.8/site-packages/trimesh/constants.py", line 151, in timed
result = method(*args, **kwargs)
File "/home/josie/miniconda3/envs/dexgraspnet/lib/python3.8/site-packages/trimesh/proximity.py", line 333, in on_surface
return closest_point(mesh=self._mesh, points=points)
File "/home/josie/miniconda3/envs/dexgraspnet/lib/python3.8/site-packages/trimesh/proximity.py", line 162, in closest_point
query_close = _corresponding(query_tri, query_point)
File "/home/josie/miniconda3/envs/dexgraspnet/lib/python3.8/site-packages/trimesh/triangles.py", line 652, in closest_point
v = (d1[is_ab]*factor / scaled_denominator).reshape((-1, 1))
FloatingPointError: invalid value encountered in divide
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "scripts/generate_grasps.py", line 252, in
list(it)
File "/home/josie/miniconda3/envs/dexgraspnet/lib/python3.8/site-packages/tqdm/std.py", line 1181, in iter
for obj in iterable:
File "/home/josie/miniconda3/envs/dexgraspnet/lib/python3.8/multiprocessing/pool.py", line 868, in next
raise value
FloatingPointError: invalid value encountered in divide
How to solve it? Is it because the wrong version of trimesh?
The text was updated successfully, but these errors were encountered:
I think you're doing a good job, but I'm running the generate_grasps.py and I'm getting an error:
Traceback (most recent call last):
File "/home/josie/miniconda3/envs/dexgraspnet/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/home/josie/DexGraspNet/grasp_generation/scripts/generate_grasps.py", line 70, in generate
initialize_convex_hull(hand_model, object_model, args)
File "/home/josie/DexGraspNet/grasp_generation/utils/initializations.py", line 58, in initialize_convex_hull
closest_points, _, _ = mesh_origin.nearest.on_surface(p.detach().cpu().numpy())
File "/home/josie/miniconda3/envs/dexgraspnet/lib/python3.8/site-packages/trimesh/constants.py", line 151, in timed
result = method(*args, **kwargs)
File "/home/josie/miniconda3/envs/dexgraspnet/lib/python3.8/site-packages/trimesh/proximity.py", line 333, in on_surface
return closest_point(mesh=self._mesh, points=points)
File "/home/josie/miniconda3/envs/dexgraspnet/lib/python3.8/site-packages/trimesh/proximity.py", line 162, in closest_point
query_close = _corresponding(query_tri, query_point)
File "/home/josie/miniconda3/envs/dexgraspnet/lib/python3.8/site-packages/trimesh/triangles.py", line 652, in closest_point
v = (d1[is_ab]*factor / scaled_denominator).reshape((-1, 1))
FloatingPointError: invalid value encountered in divide
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "scripts/generate_grasps.py", line 252, in
list(it)
File "/home/josie/miniconda3/envs/dexgraspnet/lib/python3.8/site-packages/tqdm/std.py", line 1181, in iter
for obj in iterable:
File "/home/josie/miniconda3/envs/dexgraspnet/lib/python3.8/multiprocessing/pool.py", line 868, in next
raise value
FloatingPointError: invalid value encountered in divide
How to solve it? Is it because the wrong version of trimesh?
The text was updated successfully, but these errors were encountered: