Git Product home page Git Product logo

Comments (2)

xksteven avatar xksteven commented on August 23, 2024

I'll try to repeat your questions to make sure I understand what you're asking.

  • How do I generate the prediction image in the visualization? We simply feed in the image and ask the model to predict which of the in-distribution classes is present for each pixel.
  • How do we select a threshold for plotting whether or not something is anomaly? We plot the ROC or PR curves and based on what target precision you're aiming for you can select theta based on that.
  • How do we plot the anomaly scores? Let's take MaxLogit as an example. For each pixel after being passed through the model you obtain an array of predictions. Select the max among that array. You now have 1 value per pixel. This can be plotted on grey scale or we can use the viridis color scheme as we chose to do as it is more visually pleasing to readers.

Hope that answers all of your questions. I will close this issue tomorrow if there are no follow-up questions :)

from anomaly-seg.

kehuantiantang avatar kehuantiantang commented on August 23, 2024

You solved all my questions,thank you very much for your answer.

from anomaly-seg.

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.