Skip to content

using mask in one_mix method in mmseg/models/utils/dacs_transforms.py #85

Description

@beautifulchoi

hello, first of all, thanks for your great work.

I want to extend this code, but have some question.

in mmseg/models/utils/dacs_transforms.py, there is "one_mix" method. it seems making mixing original image and target image. but, there is only mask[0] used, which is first batch's mask.

but in "get_class_masks" method, the number of generated masks is batch size. why others are not used but only using first mask?
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions