Skip to content

DatasetNoPair #1

@weizequan

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?

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