Closed TorAP closed 1 year ago
@TorAP, can you elaborate please? Do you mean the expected results are not good enough? Or do you expect some other output, which would be similar to the ones saved as an image after training?
I guess I was expecting something like this (from the Anomalib Github)
But I'm not sure if I can see any examples of inference results from the documentation?
Any news on this? Could u tell me what the inference part should output?
I figured that PyTorch inference has a flag you could set (also written in your docs). However, I still get no mask from the model, which should have 0.98 accuracy.
@TorAP, what you show here is not a bug.
0.98 is probably the AUC that you are getting. High AUC does not guarantee the best segmentation mask output unfortunately. That's why AUC may not be a reliable metric for anomaly detection tasks. If you check your results, you would see that pixel F1 score for the model would be relatively low, which would explain why you cannot see a segmented mask.
Describe the bug
When I run (following docs https://openvinotoolkit.github.io/anomalib/tutorials/inference.html) :
I get odd looking results
Dataset
MVTec
Model
PatchCore
Steps to reproduce the behavior
Expected behavior
Not sure if the inference will generate heatmaps etc.?
Screenshots
Pip/GitHub
pip
What version/branch did you use?
No response
Configuration YAML
Logs
Code of Conduct