- Create conda environment.
conda create -n hcpihf python=3.9
- Install safety-gymnasium.
conda activate hcpihf
cd safety-gymnasium
pip install -e .
- Install stable-baselines3
cd ../stable-baselines3
pip install -e .
- Install packages.
cd ..
pip install -r requirements.txt
script.sh contains step by step instructions with all commands to generate the main results of the paper.