Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/patchore max anomaly score #26

Merged
merged 2 commits into from
Jul 15, 2024

Conversation

lorenzomammana
Copy link

[v0.7.0+obx.1.3.4]

Added

  • Add three new flags to change the anomaly computation for patchcore

    • disable_score_weighting which disables reweighting the anomaly score based on the anomalib formula
    • weight_anomaly_map which apply the same weight used for the anomaly score to the whole anomaly map
    • anomaly_score_from_max_heatmap which computes the anomaly score from the max value of the anomaly map

    The latter is the one impacting the most the anomaly score computation as it will extract the max of the anomaly
    map after the application of the pooling, this is the only way ensuring that the anomaly score is the maximum
    value of the anomaly map. Disable score weighting should only be used if this flag is set to False, otherwise the
    anomaly score will be replaced by the max of the anomaly map.

@lorenzomammana lorenzomammana self-assigned this Jul 10, 2024
@github-actions github-actions bot added the Docs label Jul 10, 2024
@lorenzomammana lorenzomammana merged commit e1c204f into orobix-master Jul 15, 2024
1 of 3 checks passed
@lorenzomammana lorenzomammana deleted the feature/patchore-max-anomaly-score branch July 15, 2024 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants