aleju / imgaug

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

ValueError with Color Temperature Augmenter #705

Open wjacobward opened 4 years ago

wjacobward commented 4 years ago

I am using 0.4.0 installed from conda-forge and receive a ValueError in the last step of transform_kelvins_to_rgb_multipliers() in color.py. I am attempting to augment a batch of images. If it reshape and tile the "interpolation_factors" array, then the augmenter works as expected. Is this a bug, or am I using the augmenter incorrectly?

jspaezp commented 4 years ago

Could you provide an example image that you are attempting to augment? (a small chunk on how you are defining the augmenter would also help us help you)

Best