PyTorch implementation of the paper:
Ho, Jonathan, and Stefano Ermon. "Generative adversarial imitation learning." Proceedings of the 30th International Conference on Neural Information Processing Systems. 2016.
We also present a report with theoretical and empirical studies based on our understanding of the paper and other related works.
pip install -r requirements.txt
pip install -e .
[optional] conda install swig
[optional] pip install box2d-py
Note: swig
and box2d-py
are required only by LunarLander-v2
environment.
Have a look at the parameters set in the corresponding run config files before executing these commands. We provide some example pretrained models and sampled expert trajectories to directly work with as well.
python ppo.py --config config/CartPole-v0/config_ppo.json
python traj.py --config config/CartPole-v0/config_traj.json
python main.py --config config/CartPole-v0/config_gail.json
python visualize.py --env_id CartPole-v0 --out_dir ../pretrained --model_name ppo
python visualize.py --env_id CartPole-v0 --out_dir ../pretrained --model_name gail
- GitHub: nav74neet/gail_gym
- GitHub: nikhilbarhate99/PPO-PyTorch
- Medium: Article on GAIL
- Blog post on PPO algorithm
- White Paper on MCE IRL
- Blog post on PPO
- Blog post on TRPO
This work has been completed as a course project for CS498: Reinforcement Learning course taught by Professor Nan Jiang. I thank our instructor and course teaching assistants for their guidance and support throughout the course.
Jatin Arora
University Mail: [email protected]
External Mail: [email protected]
LinkedIn: linkedin.com/in/jatinarora2702