SHAP:Explain an Intermediate Layer of VGG16 on ImageNet ; TypeError: Tensors are unhashable
#导入库fromkeras.applications.vgg16importVGG16fromkeras.applications.vgg16importpreprocess_input,decode_predictionsimportnumpyasnpimportshapimportkeras.backendasKimportjson#loadpre-trainedmodelandchooset