Implementation of Adversarial Imitation Via Variational Inverse Reinforcement Learning.
The code is an adaption of inverse-rl repository that contains the implementations of state-of-the-art imitation & inverse reinforcement learning algorithms.
- Rllab
- Use our base.py by replacing
from rllab.sampler.base import BaseSampler
tofrom base import BaseSampler
in the filesandbox/rocky/tf/samplers/vectorized_sampler.py
- Use our base.py by replacing
- TensorFlow
-
Collect expert data
python ant_data_collect.py
-
Run Inverse Reinforcement Learning:
python ant_irl.py
-
Run transfer learning on disabled-ant
python ant_transfer_disabled.py