Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x_cnn = CNNExplainer(model, imagenet_class_labels) not working #11

Open
Yashrajput7232 opened this issue Oct 17, 2023 · 0 comments
Open

Comments

@Yashrajput7232
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant