Skip to content

Script for generating new goal sets

Emilio Cartoni edited this page May 21, 2020 · 6 revisions

After installation, you can launch real-robots-generate-goals to generate a file of goals.

Usage: generate_goals.py [OPTIONS]

  Generates the specified number of goals and saves them in a file.

  The file is called goals-s{}-{}-{}-{}-{}-{}-{}-{}.npy.npz
  where enclosed brackets are replaced with the
  supplied options (seed, n1...n7) or 0.

Options:
  --seed INTEGER  Generate goals using this SEED for numpy.random
  --n1 INTEGER    # of 2D Goals with 1 moving object
  --n2 INTEGER    # of 2D Goals with 2 moving objects
  --n3 INTEGER    # of 2D Goals with 3 moving objects
  --n4 INTEGER    # of 2.5D Goals with 1 moving object
  --n5 INTEGER    # of 2.5D Goals with 2 moving objects
  --n6 INTEGER    # of 2.5D Goals with 3 moving objects
  --n7 INTEGER    # of 3D Goals
  --help          Show this message and exit.
Clone this wiki locally