explainable-cnn icon indicating copy to clipboard operation
explainable-cnn copied to clipboard

x_cnn = CNNExplainer(model, imagenet_class_labels) not working

Open Yashrajput7232 opened this issue 1 year ago • 0 comments

i tried your library but it is giving error in line x_cnn = CNNExplainer(model, imagenet_class_labels) the pkl file used is https://drive.google.com/file/d/14DPoXNCWqb8vr4AeqRVAcDzrPKlAQnpS/view?usp=sharing

TypeError Traceback (most recent call last) in <cell line: 1>() ----> 1 x_cnn = CNNExplainer(model, imagenet_class_labels) 2 # from explainable_cnn import CNNExplainer 3 4 # # Assuming you have a defaultdict, convert it to a regular dictionary 5 # imagenet_class_labels = dict(your_defaultdict_here)

Yashrajput7232 avatar Oct 17 '23 12:10 Yashrajput7232