Reinforcement learning experiments
Find a file
2020-10-05 19:44:43 -04:00
logs new logs 2020-10-04 06:40:35 +00:00
mypanda In Search Of A Smoother Reward Function.. Part 37 2020-10-03 17:46:22 +00:00
panda_env_v9.py tweak reward to be more negative 2020-10-04 06:36:28 +00:00
panda_env_v10.py In Search Of A Smoother Reward Function.. Part 37 2020-10-03 17:46:22 +00:00
panda_playground.py In Search Of A Smoother Reward Function.. Part 37 2020-10-03 17:46:22 +00:00
ppo_panda.py better stats and more fixed rands 2020-10-04 06:36:44 +00:00
README.md Update README.md 2020-10-05 19:44:43 -04:00
requirements.txt In Search Of A Smoother Reward Function.. Part 37 2020-10-03 17:46:22 +00:00
train.py better stats and more fixed rands 2020-10-04 06:36:44 +00:00

rl-experiments

Reinforcement learning experiments

status

PPO + Panda sorta works on simple pushing task.

contents

mypanda/: Hack of Panda environment with two diff goals - knocking the object around, or holding close to it

ppo_panda.py: PPO implementation targeting the Panda environment

train.py: framework to iterate (potentially endlessly) over hyperparameters and log results. this is from my "depressed and drifting" period

how to use

Install pre-requisites:

$ pip install -r requirements.txt

Edit train.py to tweak the hyperparameters you want to try out (optional). Specify parameter options as lists, and training will try random combinations.

$ vim train.py

Set the system up to render live by creating /tmp/render.txt. Remove this file to turn off the GUI's rendering, which is faster.

$ touch /tmp/render.txt

Start training! The system will collect statistics in ./train-log.jsonlines.

$ python train.py

Weights will be saved every 1000 episodes to panda_saved.

origins

PyBullet Panda simulation: (unknown)

PPO implementation: https://github.com/wisnunugroho21/reinforcement_learning_ppo_rnd