Embedding to Learn
Follow the standard garage setup instructions.
Also install:
- pipenv
- pyenv (optional but highly recommended)
Check out this repository and setup submodules
git clone https://github.com/zhanpenghe/embed2learn.git
cd embed2learn
git checkout new-garage
git submodule init
git submodule update
Setup the pipenv
cd embed2learn
pipenv install --dev
Fixup some existing install issues
pipenv run pip uninstall -y mujoco_py
pipenv run pip install mujoco_py
pipenv run python -c 'import mujoco_py'
pipenv run python launchers/ppo_point_embed.py # prints an error
export SCRIPT_DIR=<paste directory from error>
mkdir -p $SCRIPT_DIR
cp external/garage/scripts/run_experiment.py $SCRIPT_DIR
Run
pipenv run python launchers/ppo_point_embed.py
-
PointEnv plotting broken on MacOS (pygame issue)
-
gym-sawyer task space control broken
-
baselines install seems broken with pipenv
-
mujoco_py install is broken -- numpy versions mismatch
workaround:
pipenv run pip uninstall -y mujoco_py pipenv run pip install mujoco_py pipenv run python -c 'import mujoco_py'
-
garage data directory is in site-packages
-
garage scripts/run_experiment.py not copied during setup
workaround:
pipenv run python launchers/ppo_point_embed.py # prints an error export SCRIPT_DIR=<paste directory from error> mkdir -p $SCRIPT_DIR cp external/garage/scripts/run_experiment.py $SCRIPT_DIR
-
multiworld assets not copied during setup.py (make PR)
workaround: use as a submodule for now
-
gym-sawyer vendor files files not copied by setup.py
workaround: use as a submodule for now