Skip to content

DatasetNoPair #1

Description

@weizequan

If the pair_constraint = false, the code will use DatasetNoPair. Like DatasetPair, the DatasetNoPair also can call transform (RandomRot, RandomFlip). In paired mode, the cover and stego images will be both rotated or flipped using the same setting.
However, when in no-pair mode, it can rotate or flip the cover image only, the corresponding stego image may not be rotated or flipped. Because the DatasetNoPair only load one image once.
Therefore, if set pair_constraint = false, the only transforms.Compose([
utils.ToTensor()
]) can be used?

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