moboehle / pytorch-lrp Goto Github PK
View Code? Open in Web Editor NEWBasic LRP implementation in PyTorch
License: BSD 3-Clause "New" or "Revised" License
Basic LRP implementation in PyTorch
License: BSD 3-Clause "New" or "Revised" License
Could you please supply some detail on how to get the "holdout_AD_CN_2Yr15T_plus_UniqueScreening_ID_Hippocampus.h5" file, which is in "Beta Correlation.ipynb" script? Thank you very much.
I'm trying to analyze FaceForensics detector XceptionNet with your LRP implementation, but I get stuck when trying to analyze the first Conv2d layer (the last conv in the network) in the backpass. I'm getting this error message when trying to reshape relevance_in in method conv_nd_inverse (file: inverter_util.py):
relevance_in = relevance_in.view(m.out_shape)
RuntimeError: shape '[1, 2048, 10, 10]' is invalid for input of size 2048
So relevance_in has size torch.Size([1, 2048]) and m.out_shape is [1, 2048, 10, 10]. Why am I getting this error?
I see that you base on sequential relevance propagation
Line 212 in 3263df4
When I tried to run this code in colab notebook , it occured the problem as "NameError: name 'INSERT' is not defined" during the process of importing setting.py. I wonder the reason behind it because I couldn't find corresponding useful information on the Internet. Thanks.
In compute_propagated_relevance function,
Do you only support max_pooling, not avg_pool or adaptive_avg_pooling??
数据申请通过了,但是不知道具体下载那个数据集
Hi,
Thanks for the awesome repo. However, I am getting some syntax errors and I guess it might be due to difference of your Pytorch and Python. Can you kindly comment on
For example I am getting 'syntax error' in the following line:
https://github.com/moboehle/Pytorch-LRP/blob/master/inverter_util.py#L207
Keenly looking forward to your response.
Thanks,
Avisek
I want to use LRP to explain the semantic segmentation task using Unet model (Pytorch). I tested the LRP in captum but not support nn.Upsample and nn.ConvTranspose2d. I would like to know if the semantic segmentation model like Unet can be supported, and if not, how should it be implemented? Any help would be appreciated!
When I tested the b-rule, an error raised saying sum_weights is not defined. I think it could be a bug. I removed this line and could run correctly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.