Coder Social home page Coder Social logo

peg-in-hole-with-rl's Introduction

Peg-in-Hole with RL algorithm

This project provides diff models to complete the assembly tasks (peg-in-hole) in soft body and rigid body environmnets. The RL-PPO algorithm is mainly used in this project and the task for rigid body environment is completed (the policy includes hole seaching, shape matching, insertion). For the soft part, it uses soft body (soft tool) to complete the insertion task.

Details and demos: https://0707yiliu.github.io/peg-in-hole-with-RL/

Description

This repo contains the whole RL framework but without the trained model. Running code in ./src, RL-env in gym_envs. You can use the command in ./src/command.txt to quick start a trainning.

Quick Started

  • Register the gym-env (go to the repo root)
pip install -e .
  • quick trainning
python /your/repo/root/src/run.py  -e URPiHDense-v1 -t 7000000 -a PPO -v vision-touch -lr 0.0003 -hs 4mm -l -dsl -dr -nor -g 3

Dependencies

  • gym >= 2.1
  • Mujoco >= 2.3
  • Python >= 3.7
  • KDL-pkg
  • ...

Version History

peg-in-hole-with-rl's People

Contributors

0707yiliu 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.