A unified framework of perturbation and gradient-based attribution methods for Deep Neural Networks interpretability. DeepExplain also includes support for Shapley Values sampling. (ICLR 2018)
Hi,
I was running the following code without any issue until recently, when I updated the installation of DeepExplain in my google colab:
with DeepExplain(session=K.get_session()) as de:
fmodel=Model(model.input,dense)
fmodel.set_weights(model.get_weights())
fmodel.compile(optimizer='nadam', loss='binary_crossentropy',metrics=['accuracy',f1])
I am receiving ValueError: None values not supported in de.explain():
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/tensor_util.py in make_tensor_proto(values, dtype, shape, verify_shape, allow_broadcast)
452 else:
453 if values is None:
--> 454 raise ValueError("None values not supported.")
455 # if dtype is provided, forces numpy array to be the type
456 # provided if possible.
Hi, I was running the following code without any issue until recently, when I updated the installation of DeepExplain in my google colab:
with DeepExplain(session=K.get_session()) as de: fmodel=Model(model.input,dense) fmodel.set_weights(model.get_weights()) fmodel.compile(optimizer='nadam', loss='binary_crossentropy',metrics=['accuracy',f1])
I am receiving ValueError: None values not supported in de.explain(): /usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/tensor_util.py in make_tensor_proto(values, dtype, shape, verify_shape, allow_broadcast) 452 else: 453 if values is None: --> 454 raise ValueError("None values not supported.") 455 # if dtype is provided, forces numpy array to be the type 456 # provided if possible.
I am using tensorflow version 1.15.
Please help.