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-python 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vspscripts_python-1.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / vspscripts_python-1.2.2-py3-none-any.whl
| Download URL | vspscripts_python-1.2.2-py3-none-any.whl |
|---|---|
| Size | 511.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5eee83ec333cd54783b3d0a7b6babfb30f468008c0804ccb1f91f8351a16a04a
|
|
BLAKE2b-256 checksum How to use checksums |
a2e7cd34d0a027cb702a7706dcdf1cc5b6c6d64161c8bf74e5718369386cfbc6
|
| 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
|