Giter Club home page Giter Club logo

cable_manipulation_gnn's Introduction

Learning Deformable Object Model with GNS

Codes for learning deformable object model with GNS

Install

  • create conda environment: conda create -n deformable_gns python=3.7 pip
  • run pip install pybullet for pybullet
  • Install requirements files according to https://github.com/deepmind/deepmind-research/tree/master/learning_to_simulate (requires Python3.7-): pip install -r learning_to_simulate/requirements.txt
  • Downgrade Protobuf to avoid potential problems of tensorflow: pip install --upgrade "protobuf<=3.20.1"
  • Install sklearn: pip install -U scikit-learn
  • Install IPOPT: sudo apt-get install gcc g++ gfortran git patch wget pkg-config liblapack-dev libmetis-dev
  • Install IPOPT python wrapper: conda install -c conda-forge cyipopt (required Python 3.6+)
  • Install opencv: conda install -c conda-forge opencv

Usage

  • You can use chmod +x run.sh & run.sh for collecting the data and train the network
  • For details, run python collect_rope_data_2d.py for collecting rope data in tfrecord format.
  • You can use python learning_to_simulate/show_data_message.py to test whether the data is recorded correctly.
  • run python learning_to_simulate/evaluate.py for generating rollouts
  • run python learning_to_simulate/render_rope.py for the results
  • run python planning.py for planning example (a pre-trained model was put in the learning_to_simulate/models)
  • for speeding up the planning, you can play with the optimizaiton options tol and max_iter

Troubleshooting

Contact [email protected]

cable_manipulation_gnn's People

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.