Code Monkey home page Code Monkey logo

Comments (3)

alexriedel1 avatar alexriedel1 commented on September 10, 2024

What do your predictions look like and what do you expect? Is the code above your full code, because the model training (and validation) phase is missing.

from anomalib.

JinYuannn avatar JinYuannn commented on September 10, 2024
  1. Here is my training code:
model = ReverseDistillation()
    
engine = Engine(
    max_epochs=200, 
    check_val_every_n_epoch=5,
    logger=True
)

 engine.fit(datamodule=folder_datamodule, model=model)
  1. When I finish training the model and call the model using the predict method, no matter what value I change the default_value in ManualThreshold to, the 'Predicted Heat Map' and 'Predicted Mask' drawn by predict method are exactly the same. I believe that modifying the threshold should output different 'Predicted Mask'. For example, if I set the threshold very low, there should be many defects.

from anomalib.

JinYuannn avatar JinYuannn commented on September 10, 2024

@alexriedel1 Looking forward to your reply, thanks.

from anomalib.

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.