OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Imitation Learning

Imitation Learning is a Python research repository that implements deep imitation-learning algorithms using Soft Actor-Critic as the base reinforcement-learning method. It includes AdRIL, DRIL, GAIL, GMMIL, PWIL and RED, plus behavioral-cloning options and configurable expert-data training.

Independent OpenViST project profile, based on linked sources.

Imitation Learning — Comparisons among AdRIL, DRIL, GAIL, GMMIL, PWIL and RED using an SAC base
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

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

  1. From the repository, run the command below, replacing the placeholders with supported values.

    Documented command
    python train.py algorithm= env=
  2. For the documented example, run the command below.

    Documented command
    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.
Evidence and transparency

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