Code Monkey home page Code Monkey logo

relevance-cam's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

relevance-cam's Issues

equation (9)

图片
Thank you for your excellent work. I would like to ask about the meaning of x and y in equation (9). I did not see your explanation in the paper.

Training resnet50 to use with Relevance-CAM

Hi @mongeoroo,

Thanks for the incredible work – the results in the paper look great!

I am looking to use Relevance-CAM with my custom dataset. I would need to train ResNet50 (initialized with ImageNet) on my custom dataset first. Can I use the resnet50 model from your repo? Will I need to write the training script? How do I approach this? I think the Multi_CAM.py shows only the inference examples. Thank you!

vgg19

Thanks for you great job! However, I have a question. When I use vgg19 rather than vgg16, there is an error shown below. It seems that something is wrong, the code path of which is "./modules/layers.py". Can it be used in vgg19 or we need to do some change to make it in vgg19. By the way, can it be used with transformer network? I am looking forward to your reply!

RuntimeError: The size of tensor a (7) must match the size of tensor b (14) at non-singleton dimension 3

a small mistake

Hello author, I use the layer1 layer of resnet50 to operate, but an error is reported, what is the reason?
R_CAM, output = model(in_tensor, args.target_layer, [args.target_class])
ValueError: not enough values to unpack (expected 2, got 1)

Inference code for vgg

Hi! Thank you for the great work!
In the read.me you mentioned that the script supports vgg inference also, but it seems like it does not work for vgg16 (target layer index out of range, size mismatches in relprop...). Could you please provide working scripts for the vgg architecture.

Average Increase/Drop Evaluation

Hi, thanks so much for your work on this - the results look fantastic!

I was interested in trying out the Average Drop and Average Increase evaluation over the 2000 ImageNet validation images, but couldn't find the code for those metrics. Is that available somewhere?

Sanity check code

Thank you for your excellent work. Can you provide Sanity check code?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.