Skip to content
forked from orybkin/lexa

Discovering and Achieving Goals via World Models, NeurIPS 2021

License

Notifications You must be signed in to change notification settings

karthik19967829/hexa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HEXA: Human Demo Augmented Explorer and Achiever

Setup

Create the conda environment by running :

conda env create -f environment.yml

Clone the hexa-benchmark repo, and modify the python path
export PYTHONPATH=<path to lexa-training>/lexa:<path to lexa-benchmark>

Export the following variables for rendering
export MUJOCO_RENDERER=egl; export MUJOCO_GL=egl

WARNING! Make sure to use the right python and mujoco version. The robobin environment code is known to break with other versions. Other environments might or might not work.

Training

First source the environment : source activate lexa

For training, run :

export CUDA_VISIBLE_DEVICES=<gpu_id>  
python train.py --configs defaults lexa_temporal --task kitchen --logdir <log path>

To view the graphs and gifs during training, run tensorboard --logdir <log path>

Acknowledgements

This code was developed on top of LEXA code base https://github.com/orybkin/lexa This code was developed using Dreamer V2 and Plan2Explore.

About

Discovering and Achieving Goals via World Models, NeurIPS 2021

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%