Open caj-github opened 1 year ago
it is in our backlog, would you like to tell us exactly what you use it for?
Hi @MeowZheng, I am willing to work in this PR so it can be merged soon. Is that fine? I am actually using that code in my projects so I use Albu for weather augmentations and other image transforms.
Of course! thanks for your contribution.
Hi @MeowZheng, I am willing to work in this PR so it can be merged soon. Is that fine? I am actually using that code in my projects so I use Albu for weather augmentations and other image transforms.
How can we use this from mmseg1.0?
To use albumentation on mmsegmentation, just add it into the configs for example
train_pipeline = [
dict(type='LoadImageFromFile'),
dict(type='LoadAnnotations'),
dict(type='Albu', transforms = [
dict(type='HorizontalFlip', p=0.5),
dict(type='OneOf', transforms=[
dict(type='GaussNoise'),
dict(type='IAAAdditiveGaussianNoise'),
]),
p=0.5
])
]
albumentations not supported