thomasp85 / lime

Local Interpretable Model-Agnostic Explanations (R port of original Python package)
https://lime.data-imaginist.com/
Other
486 stars 110 forks source link

Error in Image Explanation #187

Open kimhs950627 opened 3 years ago

kimhs950627 commented 3 years ago

It seems that when trying the explain function with keras cnn models, following error occurs: "Type error : expected str, bytes or os.pathlike object not list". I tried explanation with custom models and vgg16 model. It seems that the file path I tried ty explain tossed to the load_img in the keras-preprocessing module as an "list" not an character or file.path() result. Can anybody help?? :(...