- Clone this repository.
git clone https://github.com/raaslab/when-to-localize-riskrl
- Create a virtual environment.
conda create --name w2lrl python=3.8
conda activate w2lrl
pip install future-fstrings \
gymnasium \
python-dateutil \
matplotlib
- Install the worlds in this repository.
# pip install -e when-to-localize-worlds
pip install -e when-to-localize-worlds/w2l_worlds/w2l_worlds # Temp fix.
You can load worlds from this repository using the following code.
import gymnasium as gym
env = gym.make("w2l_worlds:w2l_worlds/W2LGridTunnel-v0")