Practical overview
When it fits
Use it when you need a configurable codebase for research experiments with imitation learning and expert demonstrations in the listed Gym MuJoCo environments.
Who it is for
- Researchers comparing deep imitation-learning methods.
- Practitioners setting up SAC-based policy-training experiments from expert trajectories.
Documented uses
- Train a policy with one of the repository’s listed imitation-learning algorithms.
- Configure behavioral-cloning pretraining or mix expert and agent data.
- Run algorithm and environment sweeps or documented hyperparameter optimisation.
Requirements & limits
The public repository identifies its license as MIT. Its README gives pip-based dependency installation instructions.
- The implementation uses SAC as its base reinforcement-learning algorithm.
- The documented environment set is ant, halfcheetah, hopper and walker2d; benchmark data is D4RL expert-v2.
- Ax and the Hydra Ax Sweeper plugin are additional requirements for hyperparameter optimisation.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Start a documented algorithm and environment training run
Launch one imitation-learning training run using a listed algorithm and environment.
Before you start
- Repository dependencies installed
- An algorithm from AdRIL, BC, DRIL, GAIL, GMMIL, PWIL, RED or SAC
- An environment from ant, halfcheetah, hopper or walker2d
Steps
From the repository, run the command below, replacing the placeholders with supported values.
python train.py algorithm= env=For the documented example, run the command below.
python train.py algorithm=GAIL env=hopper
Expected outcome
Training output is saved under `outputs/_/` in a timestamped subdirectory.
Guide limitations
- The README documents the command and output location; it does not establish that a particular run has been executed here.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 8 November 2026
- Original website title
- Kaixhin/imitation-learning · Official homepage title · retained in its source language

