aleju / imgaug

Image augmentation for machine learning experiments.
http://imgaug.readthedocs.io
MIT License
14.42k stars 2.44k forks source link

Assigning Probability in imgaug OneOf #820

Open g-jindal2001 opened 2 years ago

g-jindal2001 commented 2 years ago

can we have a different probability for selecting augmentations in OneOf? Its use case is for example when you want to select one of the 3 augmentations but with prob = [0.5. 0.25, 0.25] instead of 1/3 for all of them.

JohnnyRisk commented 2 years ago

Has this been worked on?