0 votes

Hello,

I am trying to use the the lime plugin for a model created by Keras (from dataiku models). It works for regular models (sklearn models), but for the Keras model I receive the following error:

happening at:

python/dataiku/core/saved_model.py

and the error:

f = h5dict(filepath, 'r')
.... python2.7/site-packages/keras/utils/io_utils.py", line 197, in __init__
[14:52:34] [INFO] [dku.utils]  -     'Received: {}.'.format(type(path)))
[14:52:34] [INFO] [dku.utils]  - TypeError: Required Group, str or dict. Received: <type 'unicode'>.

Any idea why this happens and how to solve it?

 

Thanks

by

Please log in or register to answer this question.

1,188 questions
1,220 answers
1,363 comments
11,751 users

┬ęDataiku 2012-2018 - Privacy Policy