TAXONS  0.1
Task Agnostic eXploration of Outcome spaces through Novelty and Surprise
TAXONS

Task Agnostic eXploration of Outcome spaces through Novelty and Surprise.

This is the code of the paper: Unsupervised Learning and Exploration of Reachable Outcome Space


To install run:

1 pipenv shell --three
2 pip install -e . --process-dependency-links

Dependencies

NB: if you're using the virtualenv, activate it before installing the dependencies.

Pybullet Gym

I am using a slightly modified version of pybulletgym than the original found here: https://github.com/benelot/pybullet-gym.

To install it, activate the virtual env, go in the external folder and run:

1 git clone https://github.com/GPaolo/pybullet-gym.git
2 cd pybullet-gym
3 pip install -e .

If you want more informations, look at the README there.

Fastsim

Also for this one I am using a slightly modified version of it. The original can be found here: https://github.com/alexendy/fastsim_gym.

Fastsim needs libfastsim to be installed first.

libfastsim needs to be install in pyfastsim, then patched with patch -p1 < /path/to/your/file.patch. Once this has been done you can install pyfastsim, then install fastsim-gym.

Pyfastsim

You can download it from https://github.com/alexendy/pyfastsim

Libfastsim

To install it, activate the virtual env and enter the external/pyfastsim folder. Then do:

1 git clone https://github.com/GPaolo/libfastsim.git
2 cd libfastsim
3 git checkout patch-1
4 git pull origin patch-1
5 patch -p1 < ../fastsim-boost2std-fixdisplay.patch
6 ./waf configure
7 ./waf build
8 ./waf install

NB If it complains that cannot find boost, then install it by running:

1 sudo apt-get install libboost-all-dev

then go in the pyfastsim folder and install it by doing:

1 cd ..
2 python setup.py install
Fastsim-gym

To install it, activate the virtual env and enter the external folder. Then do:

1 git clone https://github.com/GPaolo/fastsim_gym.git
2 git checkout patch-1
3 git pull origin patch-1

The file .env will be loaded automatically with pipenv shell or pipenv run your_command and the environment variables will be available.

***NB***: within Pycharm you need the plugin Env File to load it automatically (access Env File tab from the Run/Debug configurations). You will have to run PyCharm from the shell itself from inside the activated virtualenv

Running

To run the algorithm you just need to launch:

1 python scripy/train.py

If you want to change the experiment parameters, go to: script/parameters.py

To plot the results, just run:

1 python scripts/plot.py