Alexis
(Alexis)
1
Hi! I can’t find old torchvision.transforms.ElasticTransform. Where is it? How to get elastic augmentation?
elastic_transformer = T.ElasticTransform(alpha=250.0)
transformed_imgs = [elastic_transformer(orig_img) for _ in range(2)]
plot(transformed_imgs)
link
ptrblck
2
transformsElasticTransform
was added in this PR in June 2022 and is still available in the current release:
transforms.ElasticTransform
# torchvision.transforms.transforms.ElasticTransform