Comments (3)
And as I understand
this doesn't change the value of the cam variable
# Get a ponderated map of filters according to grad importance
cam = np.ones(output.shape[0], dtype=np.float32)
for index, w in enumerate(weights):
cam += w * output[:, index]
from medium_notebook.
Hi, thanks for reporting
You need to change:
weights = tf.reduce_mean(grads, axis=1) # (15,)
into
weights = tf.reduce_mean(grads, axis=0) # (32,)
I also uploaded a new version of the notebook
from medium_notebook.
Thank you for your help ..... it is the most useable GitRepo I have ever seen :-)
from medium_notebook.
Related Issues (20)
- NeuralNet_ensemble HOT 3
- FAVAR with LSTM HOT 3
- VAE _timeseries or Multivariate timeseries input HOT 1
- One class Neural network issue HOT 1
- Request for translation and reprinting to Chinese community HOT 1
- I couldn't install the Shaphypetune package through PIP or Conda HOT 1
- return sequence=true or return sequence is false HOT 2
- Question: SHAP RFE vs Wrapper based RFE HOT 2
- Different predictions for the same dataset HOT 1
- VAE+LSTM for missing value imputation with a univariate time series HOT 1
- Hello, I want to contact you plz HOT 2
- Why is 'sequence_autoencoder' never used in the next code? HOT 1
- DFM and tspiral HOT 1
- ValueError: cannot reshape array of size 25690112 into shape (50625,512) HOT 1
- TimeSeries_Cluster : standardized data values clipped to nearest integer HOT 2
- librosa HOT 1
- Deleted issues (librosa in Predictive_Maintenance_CRNN /Predictive_Maintenance_ResNet )
- Question on label setting in OneClass Neural Network HOT 1
- Why use ks statistic to calculate distance?
- Time series bootstrapping bug HOT 1
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 medium_notebook.