- Python 3.8 or greater
- torch==1.12.1
- gymnasium
- safety_gymnasium
- scikit-learn
- pandas
- qpsolvers=1.9.0
- ruamel.yaml
python main.py --task_cfg_path tasks/{task_name}.yaml --algo_cfg_path algos/{algo_name}/{env_name}.yaml --seed {seed_idx} --gpu_idx {gpu_idx} --wandb
or
bash scripts/train.sh
python main.py --task_cfg_path tasks/{task_name}.yaml --algo_cfg_path algos/{algo_name}/{env_name}.yaml --seed {seed_idx} --gpu_idx {gpu_idx} --model_num {model_num} --eval
or
bash scripts/eval.sh
python main.py --task_cfg_path tasks/{task_name}.yaml --algo_cfg_path algos/{algo_name}/{env_name}.yaml --seed {seed_idx} --gpu_idx {gpu_idx} --model_num {model_num} --test