Discover this year's submissions to the Dataiku Frontrunner Awards and give kudos to your favorite use cases and success stories!READ MORE

Error in Lime plugin used for Keras models

Level 1
Error in Lime plugin used for Keras models


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:


and the error:

f = h5dict(filepath, 'r')
.... python2.7/site-packages/keras/utils/", 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?



0 Kudos
0 Replies


Labels (2)
A banner prompting to get Dataiku