albermax / innvestigate

A toolbox to iNNvestigate neural networks' predictions!
Other
1.27k stars 233 forks source link

fix for issue 61 #87

Closed AlexBinder closed 6 years ago

AlexBinder commented 6 years ago

Hi Max,

basic change is:

neuron_indexing = keras.layers.Input(shape=[None], dtype=np.int32, name='innvestigate_input_selindex')

then that layer gets a different name from input_1 - which can collide with models from the model zoo which like the Densenets have already input tensors with name input_1

albermax commented 6 years ago

Hi Alex,

Thank you so much for fixing it! Please close the issue if it works now. Thanks.

Cheers, Max