The VSP Dataset
Dataset Structure
The folder structure of the VSP dataset is as follows:
{root}/{split}/{date}/{profile}/{defect}/{layer}___{board}_{number}{type}{ext}
The meaning of the individual elements is:
rootthe root folder of the Cityscapes dataset. Many of our scripts check if an environment variableVSP_DATASETpointing to this folder exists and use this as the default choice.splitthe split, i.e. train/val/test/train_extra/demoVideo. Note that not all kinds of data exist for all splits. Thus, do not be surprised to occasionally find empty folders.datatime of data collection. eg. AIVS_20xx_xx_xx.profileID of images generated by computer Aided Manufacturing.defectpositive and negative defects.layerlayer number of multi-layer PCB.boardID of PCB images.numbernumber of defects.extthe extension of the file and optionally a suffix, e.g._labelTrainIds.pngfor ground truth files
More types might be added over time and also not all types are initially available. Please let us know if you need any other meta-data to run your approach.
Possible values of split
trainusually used for training, contains 2975 images with fine and coarse annotationsvalshould be used for validation of hyper-parameters, contains 500 image with fine and coarse annotations. Can also be used for training.
Scripts
Installation
Install vspscripts with setup.py
python setup.py build
python setup.py sdist
pip install . # or "python setup.py install"
Install vspscripts in develop
python setup.py build
python setup.py develop
# uninstall in develop
python setup.py develop --uninstall
Install vspscripts with pip
python -m pip install vspscripts
Graphical tools (viewer and label tool) are based on Qt5 and can be installed via
python -m pip install vspscripts[gui]
Usage
The installation installs the vspscripts scripts as a python module named vspscripts and exposes the following tools
Package Content
The package is structured as follows
helpers: helper files that are included by other scriptsviewer: view the images and the annotationspreparation: convert the ground truth annotations into a format suitable for your approachevaluation: validate your approachannotation: the annotation tool used for labeling the dataset
Note that all files have a small documentation at the top. Most important files
helpers/labels.py: central file defining the IDs of all semantic classes and providing mapping between various class properties.
Metadata
Release files for vspscripts 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vspscripts-1.2.0.tar.gz | 1.6 MB | Details |
Release files / vspscripts-1.2.0.tar.gz
| Download URL | vspscripts-1.2.0.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a24bbc25dda20f2956ca3f55f46e442ab554582d83f01012d601dbda0edfcac8
|
|
BLAKE2b-256 checksum How to use checksums |
3d2255727b48b1c622aaf88950bdd40ac663f9e3a6b4ec73fe9aa91667872b86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11
|