You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't find any information about how to augment a collection of different image types. In my case I would like to augment a RGB and grayscale image.
E.g. how can I apply Normalize() on those different types. Can I somehow set valid target identifier?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
You need to apply different normalization values (e.g., different mean or std) to RGB and Grayscale images. Do I understand the case correctly?
In such a situation, I think the simplest way is to define two separate augmentation pipelines and use the appropriate pipeline for an input image. For example:
Thanks for the reply. I want to compose both images in the same way, except channel relevant augmentations like e.g. normalization. But your answer inspired me, splitting it in another way. Haven't thought about it. Thanks!
Hi,
Thanks for this nice library.
I couldn't find any information about how to augment a collection of different image types. In my case I would like to augment a RGB and grayscale image.
E.g. how can I apply Normalize() on those different types. Can I somehow set valid target identifier?
Thanks in advance!
The text was updated successfully, but these errors were encountered: