• Stars
    star
    233
  • Rank 166,425 (Top 4 %)
  • Language
    Python
  • License
    MIT License
  • Created over 1 year ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Walk in the Park

Code to replicate A Walk in the Park: Learning to Walk in 20 Minutes With Model-Free Reinforcement Learning, which contains code for training a simulated or real A1 quadrupedal robot to walk. Project page: https://sites.google.com/berkeley.edu/walk-in-the-park

Installation

Install dependencies:

pip install -r requirements.txt

To install the robot SDK, first install the dependencies in the README.md

To build, run:

cd real/third_party/unitree_legged_sdk
mkdir build
cd build
cmake ..
make

Finally, copy the built robot_interface.XXX.so file to this directory.

Training

Example command to run simulated training:

MUJOCO_GL=egl XLA_PYTHON_CLIENT_PREALLOCATE=false python train_online.py --env_name=A1Run-v0 \
                --utd_ratio=20 \
                --start_training=1000 \
                --max_steps=100000 \
                --config=configs/droq_config.py

To run training on the real robot, add --real_robot=True

More Repositories

1

pytorch-a2c-ppo-acktr-gail

PyTorch implementation of Advantage Actor Critic (A2C), Proximal Policy Optimization (PPO), Scalable trust-region method for deep reinforcement learning using Kronecker-factored approximation (ACKTR) and Generative Adversarial Imitation Learning (GAIL).
Python
3,465
star
2

pytorch-a3c

PyTorch implementation of Asynchronous Advantage Actor Critic (A3C) from "Asynchronous Methods for Deep Reinforcement Learning".
Python
1,186
star
3

TensorFlow-VAE-GAN-DRAW

A collection of generative methods implemented with TensorFlow (Deep Convolutional Generative Adversarial Networks (DCGAN), Variational Autoencoder (VAE) and DRAW: A Recurrent Neural Network For Image Generation).
Python
595
star
4

jaxrl

JAX (Flax) implementation of algorithms for Deep Reinforcement Learning with continuous action spaces.
Jupyter Notebook
575
star
5

pytorch-flows

PyTorch implementations of algorithms for density estimation
Python
567
star
6

pytorch-trpo

PyTorch implementation of Trust Region Policy Optimization
Python
410
star
7

pytorch-meta-optimizer

A PyTorch implementation of Learning to learn by gradient descent by gradient descent
Python
308
star
8

pytorch-ddpg-naf

Implementation of algorithms for continuous control (DDPG and NAF).
Python
303
star
9

implicit_q_learning

Python
205
star
10

TensorFlow-Pointer-Networks

TensorFlow implementation of Pointer Networks
Python
205
star
11

rlpd

Python
175
star
12

pytorch-rl

58
star
13

jaxrl2

Jupyter Notebook
39
star
14

dmcgym

Python
24
star
15

linenplus

Flax extensions.
Python
5
star
16

gail-experts

4
star
17

cql-results

Python
3
star
18

gym_dmc

Python
2
star