datadings.sets.CAMVID_write module
- usage: CAMVID_write.py [-h] [-o PATH] [-y] [-s] [–shuffle {yes,no}]
[–calculate-weights] INDIR
Create CamVid data set files.
This tool will look for the following files in the input directory and download them if necessary:
CamVid.zip (https://github.com/alexgkendall/SegNet-Tutorial/archive/fcaf7c4978dd8d091ec67db7cb7fdd225f5051c5.zip)
See also
Important
Samples have the following keys:
"key"
"image"
"label_image"
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) –calculate-weights Calculate median-frequency class weights.