The following dependencies are required:
- Python (>=3.6)
- Mujoco 1.50
sudo apt-get install -y python3-pyqt5 protobuf-compiler libglew-dev patchelf
python3 -m pip install --user --upgrade -r requirements.txt
-
Ensure that the dependencies listed above are statisfied.
-
Clone the repo:
git clone git@git.zlw-ima.rwth-aachen.de:dissertation_ennen/gps.git
cd gps
- Compile protobuf:
./compile_proto.sh
- Add to your
~/.bashrc
:
# Mujoco
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/.mujoco/mjpro150/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/nvidia-384 # Replace 384 with the actual driver version
# Required for GLEW, otheriwse it crashes at launch
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so:/usr/lib/nvidia-384/libGL.so
Run source ~/.bashrc
or re-login to your shell.
Alternatively, Docker can be used to run GPS.
- Build the docker file:
docker build . -t gps
- Run the container
docker run --name gps -v GPS_DIR/experiments:/gps/experiments gps gym_fetchreach_lqr