Skip to content

davidsonic/robust-grasp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robust Grasping

**Reimplementation of "Robust Adversarial RL" Paper (https://arxiv.org/abs/1703.02702)

Requirements

Usage

  • [MPI multiprocessing] (mpi installed)

    • Enable 8 workers: mpirun -np 8 python main_mujoco_robust.py
  • [PPO & Robust Agent]

    • PPO.py
    • PPO_RARL.py
    • Policy network: MlpPolicy.py
  • [Training]

    • Train robust agent: python main_mujoco_robust.py
    • Train ppo agent: python main_mujoco_ppo.py
    • Eval agent: python eval.py
  • [Visualization]

    • Plot with variation python visualize.py
usage: run_mujoco_ppo.py [-h] [--env ENV] [--seed SEED] [--sr SR]

optional arguments:
  -h, --help   show this help message and exit
  --env ENV    environment ID (default: HopperAdv-v1)
  --seed SEED  RNG seed (default: 10)
  --sr SR      success reward (default: 3800.0)

png

To-do list

  • Add rendering code for adversarial force in gym-adv
  • Add new robotic manipulation environment

About

Reimplementation repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages