Shades_of_Gray-color_constancy_transformation icon indicating copy to clipboard operation
Shades_of_Gray-color_constancy_transformation copied to clipboard

RuntimeWarning: invalid value encountered in true_divide rgb_vec = rgb_vec/rgb_norm

Open Ek-Ram opened this issue 5 years ago • 0 comments

Hi, Thank you very much for sharing this code. While running it to my dataset images, I got the resluts but with the warning below:

color_constancy.py: 33: RuntimeWarning: invalid value encountered in true_divide
  rgb_vec = rgb_vec/rgb_norm

Does this warning affect the results or it is usual warning ?

Ek-Ram avatar Dec 14 '19 17:12 Ek-Ram