I'm currently using sklearn to build a simple image recogniser.
I need to use load_files('./directory/') to load images from sub-folders within that directory.
It correctly gets the target values but the data attributes are not simple pixel values. I assume I need to set the encoding parameter to consider the image files but can't find what exactly to use.