Skip to content

cannot enable both sky_removal and bg_removal? #1845

@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. Could it be that during the bg_removal phase it sees that the image already have a mask (generated by the sky_removal) so it simply skips this step?

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