datadings.sets.CAT2000_write module¶
- usage: CAT2000_write.py [-h] [-o PATH] [-y] [-s] [–shuffle {yes,no}] [-t 0-2]
INDIR
Create CAT2000 data set files.
This tool will look for the following files in the input directory and download them if necessary:
trainSet.zip
testSet.zip
Important
Samples have the following keys:
"key"
"image"
"experiments"
Each experiment has the following keys:
"locations"
"map"
Positional arguments¶
INDIR Directory that contains dataset source files.
Optional arguments¶
- -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) -t 0-2, –threads 0-2
Number of threads for conversion. 0 uses all available CPUs (default 1).