hcw-00 / PatchCore_anomaly_detection

Unofficial implementation of PatchCore anomaly detection
Apache License 2.0
320 stars 92 forks source link

Possible error at final anomaly map #4

Closed shakediel closed 3 years ago

shakediel commented 3 years ago

hey there, first of all thanks for the code!

regarding the final anomaly map computed: shouldn't the finale rescaling of the scores be done to all patch features? and not only to the highest one? thus creating a different anomaly map for the whole image?

any thoughts? thanks!

hcw-00 commented 3 years ago

Hi! Can you tell me which line? And please explain more.

shakediel commented 3 years ago

my bad, i missed the line where it said that s after scaling is the image level anomaly score.