Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.54 KB

README.md

File metadata and controls

39 lines (23 loc) · 1.54 KB

ICVF (Reinforcement Learning from Passive Data via Latent Intentions)

This repository contains accompanying code for the paper Reinforcement Learning from Passive Data via Latent Intentions.

The code is built off of jaxrl_m (see dibyaghosh/jaxrl_m for better documentation) -- all new code is in the src/ directory.

Installation

Add this directory to your PYTHONPATH. Install the dependencies for jaxrl_m (the usual suspects: jax, flax, optax, distrax, wandb, ml_collections), and additional dependencies depending on which environments you want to try (see requirements.txt).

The XMagical dataset is available on Google Drive

Examples

To train an ICVF agent on the Antmaze dataset, run:

python experiments/antmaze/train_icvf.py --env_name=antmaze-large-diverse-v2

To train an ICVF agent on the XMagical dataset, run:

python experiments/xmagical/train_icvf.py

Code Structure: