Paper can be found here: https://arxiv.org/abs/1506.07365
You will need a patched version of OpenAI Gym in order to generate the dataset. See https://github.com/ethanluoyc/gym/tree/pendulum_internal
For the planar task, we use code from. The source code of the repository
has been modified for our needs and included under e2c/e2c_tf
.