Skip to content

Please enter either pointcloud or meshes to compute bps #17

@antonagafonov

Description

@antonagafonov

Hi,
While running grab_new_objects.py encountering following issue:

python grabnet/tests/grab_new_objects.py --obj-path contact_meshes/camera.ply --rhm-path mano_v1_2/

2022-10-19 16:56:41,969 - root - INFO - Restored CoarseNet model from grabnet/models/coarsenet.pt
2022-10-19 16:56:41,975 - root - INFO - Restored RefineNet model from grabnet/models/refinenet.pt
2022-10-19 16:56:41,984 - root - INFO - #################
Colors Guide:
Gray ---> GrabNet generated grasp

Traceback (most recent call last):
File "/home/aa/Documents/GitHub/GrabNet/grabnet/tests/grab_new_objects.py", line 235, in
grab_new_objs(grabnet,obj_path, rot=True, n_samples=10)
File "/home/aa/Documents/GitHub/GrabNet/grabnet/tests/grab_new_objects.py", line 129, in grab_new_objs
bps_object = bps.encode(verts_obj, feature_type='dists')['dists']
File "/home/aa/miniconda3/envs/Pytorch3D/lib/python3.9/site-packages/bps_torch/bps.py", line 163, in encode
raise ('Please enter either pointcloud or meshes to compute bps!')
TypeError: exceptions must derive from BaseException

Can somebody please help me to solve this one?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions