datadings.sets.CIFAR10_write module
usage: CIFAR10_write.py [-h] [-o PATH] [-y] [-s] [–shuffle {yes,no}] INDIR
Create CIFAR 10 data set files.
This tool will look for the following files in the input directory and download them if necessary:
cifar-10-python.tar.gz
Important
Samples have the following keys:
"key"
"image"
"label"
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)