I am parsing thousands of images with Python/Tensorflow/Keras.
The output of my program is "polluted" by constant warnings about images that actually seem to load correctly:
Invalid SOS parameters for sequential JPEG
W tensorflow/core/lib/png/png_io.cc:87] PNG warning: gAMA: gamma value out of range
W tensorflow/core/lib/png/png_io.cc:87] PNG warning: iCCP: known incorrect sRGB profile
How to disable these warnings?
For instance in PHP ini_set ('gd.jpeg_ignore_warning', 1);
seems to be the solution to the first one.
A solution that lets other information and other warnings get displayed would be welcome :-)