CityScapesのフォルダ構造 The folder structure of City Scapes dataset

The Cityscapes dataset is a popular computer vision dataset for urban scene understanding, particularly for semantic segmentation and related tasks. It contains high-resolution images of street scenes from various cities, along with pixel-level annotations for different object classes.

The folder structure of the Cityscapes dataset typically follows this hierarchy:

cityscapes
├── leftImg8bit
│   ├── train
│   │   ├── city_name
│   │   │   ├── image_name.png
│   │   │   ├── ...
│   │   │   └── image_name.png
│   ├── val
│   │   ├── city_name
│   │   │   ├── image_name.png
│   │   │   ├── ...
│   │   │   └── image_name.png
│   └── test
│       ├── city_name
│       │   ├── image_name.png
│       │   ├── ...
│       │   └── image_name.png
└── gtFine
    ├── train
    │   ├── city_name
    │   │   ├── image_name.png
    │   │   ├── ...
    │   │   └── image_name.png
    ├── val
    │   ├── city_name
    │   │   ├── image_name.png
    │   │   ├── ...
    │   │   └── image_name.png
    └── test
        ├── city_name
        │   ├── image_name.png
        │   ├── ...
        │   └── image_name.png
  • The leftImg8bit directory contains the RGB images.
  • The gtFine directory contains the corresponding pixel-level annotations for semantic segmentation.
  • Inside both leftImg8bit and gtFine, there are separate directories for trainval (validation), and test sets.
  • Within each split directory, there are city-specific directories (e.g., city_name) containing the actual image files.
  • The image files are typically stored in PNG format.

Note that the actual names of the directories may vary slightly depending on the specific version or variant of the Cityscapes dataset.

The Cityscapes dataset includes images from various cities across different countries. Here are some of the cities included in the dataset:

Aachen
Bochum
Bremen
Dortmund
Dusseldorf
Erfurt
Frankfurt
Hamburg
Hanover
Krefeld
Leipzig
Monchengladbach
Munich
Munster
Stuttgart
Trier
Ulm
Weimar
Zurich (Switzerland)

Please note that this is not an exhaustive list, and there may be additional cities or regions included in different versions or variations of the Cityscapes dataset.