Common Super Resolution#

Format specification#

CSR format specification is available here.

Supported annotation types:

  • SuperResolutionAnnotation

Supported attributes:

  • upsampled (Image): upsampled image

Import Common Super Resolution dataset#

A Datumaro project with a CSR source can be created in the following way:

datum project create
datum project import --format common_super_resolution <path/to/dataset>

CSR dataset directory should have the following structure:

└─ Dataset/
    ├── HR/
    │   ├── <img1>.png
    │   ├── <img2>.png
    │   └── ...
    ├── LR/
    │   ├── <img1>.png
    │   ├── <img2>.png
    │   └── ...
    └── upsampled/ # optional
        ├── <img1>.png
        ├── <img2>.png
        └── ...

To make sure that the selected dataset has been added to the project, you can run datum project info, which will display the project information.

Examples#

Examples of using this format from the code can be found in the format tests