-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels