Skip to content

cannot enable both sky_removal and bg_removal? [Potential Bug] #1846

@kurkurzz

Description

@kurkurzz

I set both sky_removal and bg_removal to true but looking at the logs, it only generated the mask for sky.

...
[INFO] Wrote DJI_20250103153259_0219_mask.png
[INFO] Sky masks generation completed!
[INFO] No background masks will be generated (masks already provided)

Looking at stages/dataset.py, it checks if the image already have a mask. It simply skips this step because it already have the newly generated sky_removal mask.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions