Giter VIP home page Giter VIP logo

Comments (3)

tolga-b avatar tolga-b commented on June 7, 2024

Hi Chen,
Thanks for reaching out. Do you mean tasks such as image infilling or super-resolution when you say reconstruction? I haven't looked into how saliency looks like for reconstruction models, but one idea is seeing each pixel as a separate class which would give you a heatmap of where the model is looking at when predicting that particular pixel. You can maybe sample a subset of pixels in the image on a grid and visualize heatmaps at each location separately.

from saliency.

james20141606 avatar james20141606 commented on June 7, 2024

Hi Chen,
Thanks for reaching out. Do you mean tasks such as image infilling or super-resolution when you say reconstruction? I haven't looked into how saliency looks like for reconstruction models, but one idea is seeing each pixel as a separate class which would give you a heatmap of where the model is looking at when predicting that particular pixel. You can maybe sample a subset of pixels in the image on a grid and visualize heatmaps at each location separately.

Thanks for your inspiring reply! for reconstruction I mean some auto-encoder/GAN based image to image reconstruction. Your idea to use each pixel as class is worth trying, but might still have some problem: we may treat them as continuos value instead of discrete value. So the problem became: could we change the code for regression task visualization?

from saliency.

tolga-b avatar tolga-b commented on June 7, 2024

I think it should work out of the box as long as you pass the regression neuron as the output neuron for the saliency. Please let me know if you run into any issues!

from saliency.

Related Issues (20)

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.