I wrote a code for SHAP on images. It was working for two days, then it brought following error :
module 'shap' has no attribute 'DeepExplainer'
I uninstalled and installed the SHAP module again and searched the internet. I coudn't find how to fix it.
The code is as follows:
explainer = shap.DeepExplainer(
model=model,
data=background_tensor,
batch_size=4
)
I appreciate any help.