Replies: 1 comment 2 replies
-
Hi, Nikolas. Thanks for your kind words! What about just iterating over your batch? import torch
import torchio.transforms as T
x = torch.rand(16, 1, 1, 256, 256)
transf = T.RandomElasticDeformation()
y = torch.stack([transf(instance) for instance in x]) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello @fepegar , really great work!
One short question: is it possible to apply the implemented augmentations on a batch-level (5D tensor)?
Quick example
Results in:
Why is it not possible to apply transformations on a batch-level? Is there any quick fix to it?
Thanks in advance,
Nikolas
Beta Was this translation helpful? Give feedback.
All reactions