Open quanvuong opened 2 years ago
Thank you for the codebase!
Should this line
pcreader.change_object(cad_path, cad_scale)
be changed to
pcreader._renderer._load_object(cad_path, cad_scale)
because SceneRenderer does not implement change_object function.
SceneRenderer
change_object
Thanks!
It's indeed missing and I will add it shortly. For a quick fix you can change this
https://github.com/NVlabs/contact_graspnet/blob/f28013a1a9f593fafc7c6dc0ca022b63464800a0/contact_graspnet/data.py#L679
to
self._renderer.change_scene([cad_path], [cad_scale], [np.eye(4)])
Thank you for the codebase!
Should this line
pcreader.change_object(cad_path, cad_scale)
be changed to
pcreader._renderer._load_object(cad_path, cad_scale)
because
SceneRenderer
does not implementchange_object
function.Thanks!