This is the implementation for the paper Model-based Adversarial Meta-Reinforcement Learning.
If you use this code in your research, please cite the following paper:
@article{lin2020model,
title={Model-based Adversarial Meta-Reinforcement Learning},
author={Lin, Zichuan and Thomas, Garrett and Yang, Guangwen and Ma, Tengyu},
journal={arXiv preprint arXiv:2006.08875},
year={2020}
}
- OpenAI Baselines (0.1.6)
- MuJoCo (>= 1.5)
- TensorFlow (>= 1.9)
- NumPy (>= 1.14.5)
- Python 3.6
To install, you need to first install MuJoCo. Set LD_LIBRARY_PATH
to point to the MuJoCo binaries (/$HOME/.mujoco/mujoco200/bin
) and MUJOCO_LICENSE_PATH
to point to the MuJoCo license (/$HOME/.mujoco/mjkey.txt
). You can then setup mujoco by running rllab/scripts/setup_mujoco.sh
.
To install the remaining dependencies, you can create our environment with conda env create -f environment.yml
. To use rllab, you also need to run cd rllab; pip install -e .
.
You can run experiments:
python main.py --taskname=Ant2D
You can also specify the hyper-parameters in launch.py and run many experiments:
python launch.py
MIT License.