Skip to content

abhaybd/GraspMolmo

Repository files navigation

GraspMolmo

[Paper] [arXiv] [Project Website] [Data] [Model]

Code and website for "GraspMolmo: Generalizable Task-Oriented Grasping via Large-Scale Synthetic Data Generation"

Teaser figure for GraspMolmo

Generating new data + TaskGrasp-Image

See DATA.md for details on generating new data and TaskGrasp-Image.

Setup

Using a virtualenv (e.g. conda) is highly recommended! This code is tested on Python 3.11, but likely works on other versions.

To install this codebase:

  • For data generation: pip install -e .[datagen]
  • For TaskGrasp-Image generation: pip install -e .[taskgrasp-image]
  • For only GraspMolmo inference: pip install -e .[infer]
  • For all of the above: pip install -e .[all]

See DATA.md to understand the released data and how to generate more, if needed.

Inference

To use GraspMolmo to predict grasps, refer to the following sample:

from graspmolmo.inference.grasp_predictor import GraspMolmo

task = "..."
rgb, depth = get_image()
camera_intrinsics = np.array(...)

point_cloud = backproject(rgb, depth, camera_intrinsics)
# grasps are in the camera reference frame
grasps = predict_grasps(point_cloud)  # Using your favorite grasp predictor (e.g. M2T2)

gm = GraspMolmo()
idx = gm.pred_grasp(rgb, point_cloud, task, grasps)

print(f"Predicted grasp: {grasps[idx]}")

Citation

@misc{deshpande2025graspmolmo,
      title={GraspMolmo: Generalizable Task-Oriented Grasping via Large-Scale Synthetic Data Generation}, 
      author={Abhay Deshpande and Yuquan Deng and Arijit Ray and Jordi Salvador and Winson Han and Jiafei Duan and Kuo-Hao Zeng and Yuke Zhu and Ranjay Krishna and Rose Hendrix},
      year={2025},
      eprint={2505.13441},
      archivePrefix={arXiv},
      primaryClass={cs.RO},
      url={https://arxiv.org/abs/2505.13441}, 
}

About

Code and website for "GraspMolmo: Generalizable Task-Oriented Grasping via Large-Scale Synthetic Data Generation"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published