When trying the ChangeColorTemperature augmentation, it crashes with the following error
454 multipliers_floored
455 + interpolation_factors
--> 456 * (multipliers_ceiled - multipliers_floored)
457 )
458
ValueError: operands could not be broadcast together with shapes (196,) (196,3)
The interpolation_factors array is only size 196, while the multipliers_ceiled and multipliers_floored arrays are (196, 3). The fix is as follows:
When trying the ChangeColorTemperature augmentation, it crashes with the following error
The interpolation_factors array is only size 196, while the multipliers_ceiled and multipliers_floored arrays are (196, 3). The fix is as follows:
I will post a fix and submit an upstream pull request.