This project tests whether a PPO policy can use a task embedding to place two cubes in the requested order.
Requires Python 3.11.
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.txtTrain or play the PPO policy:
.\.venv\Scripts\python.exe ppo.py --steps 3000000
.\.venv\Scripts\python.exe ppo.py --playRecord one high-quality 1080p, 50 FPS episode:
.\.venv\Scripts\python.exe ppo.py --play --record recordings/simulation.mp4Resume training:
.\.venv\Scripts\python.exe ppo.py --steps 200000 --resume checkpoints/ppo_pick_place_v7.zipThe observation includes the requested cube order:
[red first, blue first, red second, blue second]
PPO receives this embedding with the environment observation and learns the required placement sequence.
