Giter Site home page Giter Site logo

pytorch_contactnet's Introduction

Pytorch Contact-GraspNet

Pytorch implementation of Contact-GraspNet. Original Tensorflow implementation can be found at: https://github.com/NVlabs/contact_graspnet

DISCLAIMER: This is research code I'm using as a stepping stone toward a different project - your mileage may vary. I'll update this repo periodically but am not actively maintaining it.

General notes

The train file is a little broken and will be updated soon along with tools to evaluate the model in Pybullet and on a real world setup. Stay tuned for a cleaner datloader + instructions for interfacing with ACRONYM as well.

Right now, a current checkpoint of the weights that I've been using is in /checkpoints/current.pth and can be loaded and used as seen in the demo file.

Demo file

To see a demo of the predictions, first download the requirements: pip3 install -r requirements.txt We're doing our visualizations in MeshCat. In a separate tab, start a meshcat server with meshcat-server

From here you can run python3 eval.py

To visualize different thresholds, use the --threshold argument such as --threshold=0.8

To visualize different cluttered scenes (rendered in pyrender from ACRONYM), use the argument --scene and manually feed in a file name such as --scene=002330.npz. Sorry that this is so inconvenient right now. Your possible files are:

  • 002330.npz
  • 004086.npz
  • 005274.npz

Happy grasping!

pytorch_contactnet's People

Contributors

alinasarmiento avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.