|
image = transform_before(image) |
|
transform_before = transforms.Compose([ |
|
transforms.Lambda(lambda x: Perturbations(x)[0]) |
Hi,
If the training set is GenImage-sdv1.4 and the input image size is not a multiple of 16 (e.g. 600x395), then using transforms.Lambda(lambda x: Perturbations(x)[0]) will result in an error. How did you solve this problem?
Thanks
AIDE/data/datasets.py
Line 122 in 6725b71
AIDE/data/datasets.py
Line 34 in 6725b71
AIDE/data/datasets.py
Line 35 in 6725b71
AIDE/data/datasets.py
Line 36 in 6725b71
Hi,
If the training set is GenImage-sdv1.4 and the input image size is not a multiple of 16 (e.g. 600x395), then using transforms.Lambda(lambda x: Perturbations(x)[0]) will result in an error. How did you solve this problem?
Thanks