Skip to content

Normalize flag in WindowSamplingConfig #2245

@bdevoghel

Description

@bdevoghel

🚀 Feature

When creating a SemanticSegmentation**GeoDataConfig** (maybe other use-cases than segmentaion too ? my experience is limited to this one), the scene_to_dataset creates a GeoDataset based on options from the sampling config. As WindowSamplingConfig has no normalize flag, the created dataset can only be created with normalize=True; which is undesired.

The requested feature is to create the normalize flag in the WindowSamplingConfig class and passing it down where required.

Motivation

When creating a SemanticSegmentation**GeoDataConfig**, I want my dataset to be sampled without built-in normalization.

Pitch

The class WindowSamplingConfig should have the additional normalize pydantic field.

Alternatives

Creating my own custom class similar to SemanticSegmentationGeoDataConfig but with the enforces normalize flag set to false.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions