Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 989 Bytes

dataset_prepare.md

File metadata and controls

31 lines (25 loc) · 989 Bytes

Prepare datasets

Data folder structure is as follows.

mmsegmentation
├── mmseg
├── tools
├── configs
├── data
│   ├── arch_scans_324
│   │   ├── train_set
│   │   │   ├── images
|   |   |   |   ├── xxx{img_suffix}
|   |   |   |   ├── yyy{img_suffix}
│   │   │   ├── annotations
|   |   |   |   ├── xxx{seg_map_suffix}
|   |   |   |   ├── yyy{seg_map_suffix}
│   │   ├── val_set
│   │   │   ├── images
│   │   │   ├── annotations
│   |   |

The example of an annotated RGB image (xxx.png) and its segmentation annotation (xxx_ann.png) is given as follows:

RGB ANN

The annotation image contains two classes, 0 for background and 1 for foreground, which have been converted to pseudo color from gray for visualization.