keras-team / keras-preprocessing

Utilities for working with image data, text data, and sequence data.
Other
1.02k stars 444 forks source link

Keras support for .pgm files #306

Open mohan-ys opened 3 years ago

mohan-ys commented 3 years ago

I am trying to use "flow_from_dataframe" for some image classification. However, the format of my files in .pgm. It looks like Keras doesn't even recognize these files(I renamed a couple of files to .jpg & they were recognized). Is there a workaround this problem?

The error i get is "UserWarning: Found 98 invalid image filename(s) in x_col="image_path". These filename(s) will be ignored. .format(n_invalid, x_col)"

Thank you!