conda create -n cmdp python=3.12conda activate cmdp
pip install -r requirements.txtTo run the tabular experiments, just run
python tabular.pyTo run the CSE experiments from the paper, just run the corresponding script in scripts/. For example, to run simple_dir:
./scripts/simple_dir.shBy default, the results will be saved in ray_results/ on your local machine. Move the experiments into the experiments/ folder before proceeding to the next step. When this is done, you can run sweeps over the contexts by running the following command:
python sweep.py --env simple_dir --nmesh 50To plot the results, run the following command:
python plot_evaluation.py --env simple_dir --save_figPlots are saved in figures/.
These commands should be run for the following environments:
simple_dirant_dirant_goalcart_goalcheetah_velpen_goal