datadings.sets.SALICON2017_write module

usage: SALICON2017_write.py [-h] [-o PATH] [-y] [-s] [–shuffle {yes,no}]

INDIR

Create SALICON 2015 challenge data set files.

This tool will look for the following files in the input directory and download them if necessary:

  • image.zip

  • fixations.zip

Important

Samples have the following keys:

  • "key"

  • "image"

  • "experiments"

Each experiment has the following keys:

  • "locations"

  • "map"

  • "timestamps"

  • "fixations"

Positional arguments

INDIR Directory that contains dataset source files.

options:
-h, --help

show this help message and exit

-o PATH, --outdir PATH

Output directory. Defaults to indir.

-y, --no-confirm

Don’t require user interaction.

-s, --skip-verification

Skip verification of source files.

–shuffle {yes,no} Write samples in random order. (default: yes)