Skip to content

GoodAI/diversity_algorithms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diversity algorithms

This fork contains changes to make it possible to communicate with the Space Engineers game.

Changes

  • Changed log file names so that they are valid on Windows
  • Slightly changed the NS+Fit option handling because I was getting some errors with the shape of the fitness. There is probably a better solution.
  • Added a Space Engineers maze environment.
  • Added a file to export behaviour descriptors to a text file so that they can be rendered in the game.

How to install

  • Install diversity_algorithms (instructions here)
  • Install Space Engineers gym (instructions here)

Notes: Scoop is not working with the Space Engineers gym.

How to use

SpaceEngineers-Maze environment was added to the dictionary of registered environments. The description of the environment can be found here.

After running an experiment, it is possible to export behaviour descriptors to a text file and later use them with the /BDs load <filename> command. In order to do that, run the diversity_algorithms/space_engineers/export_behaviours.py like this:

python3 export_behaviours.py folder_with_results output.txt

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%