Comments (1)
Dear @krishnaadithya, I cannot give you a precise answer without more elements like the error log.
Nonetheless, in my view, two sources could cause your error:
- First,
GradCAM
manipulates the gradient inside the model. Therefore, this method is much more sensible to varying architecture. - The other possibility comes from the error message. The error suggests a conflict between types; the Xplique library makes all its computations in
tf.float32
, which may conflict with the type of the weights inside your model.
I cannot provide you a quick fix, there are many cases where GradCAM
cannot be applied.
Best regards
from xplique.
Related Issues (20)
- [Enhancement] - Add new attribution method HOT 2
- [BUG] - Channel visualization for other model
- [Bug]: - Out of memory with several methods
- [Bug]: - Lime do not work for segmentation
- [Bug]: - Pickling of a KernelShap using dill or cloudpickle in a test doesn't work
- [Bug]: - All VRAM of first device gets allocated when importing the lib on a gpu environment. HOT 1
- [Bug]: - Cannot pickle KernelShap object HOT 3
- [Question] - TF public models and algorithm operation HOT 3
- [Bug]: - Feature Visualization for single-channel image HOT 2
- [Bug]: - Causal fidelity problem with `steps=-1`
- [Bug]: - MuFidelity does not work for Tabular data and time series
- StopIteration error
- Feature Request: Save Plots HOT 1
- RuntimeError during Gradient Computation with Custom YOLOv7 Model Wrapper in PyTorch for Xplique Object Detection Explainability HOT 2
- CRAFT PyTorch for time series HOT 7
- [Bug]: - Tabular plot does not support numpy 1.26.3
- Object detection explainability HOT 2
- [Question] Concept Attribution from the Holistic paper HOT 1
- [Question] Concept Attribution Maps in CRAFT. How is it done in Xplique?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xplique.