Open cugwu opened 10 months ago
Hello, thanks for reporting this. It's quite an unusual case. I'm not sure what the problem would be exactly, but may I just ask how you installed the anomalib? From your provided info:
Steps to reproduce the behavior Install anomalib pip install anomalib, in your python enviroment ... Anomalib version: 1.0.0.dev0
Did you install anomalib from github and then also with pip? This might be problematic, especially if you use v1, as the one from pip is I believe 0.7. Try doing a fresh install, but only from git OR from pip, not both.
Hope that helps 😄
Any update here?
I am running into the same issue. I clone the repo and then:
pip install -e .
Then to install the remaining dependancies:
anomalib install
I am running this on a GPU.
This is a bit problematic as metrics should be reliable. Can you please provide more details (model used, data used) and give us a minimal reproducible code sample. Thanks 😄
Hi, Thank you for the quick response. I am using PatchCore with private data. I am not using the method from anomalib package directly, instead I am saving the normalized anomaly maps on the device and then calling the metric this way in a postprocessing script. I tried running on GPU and CPU. However, I get different metrics each time.
aupro = AUPRO(fpr_limit=0.3)
run_pro = aupro(preds_tensor, targets_tensor)
run_pro
tensor(1.0518)
Okay, thanks for the info. I'll look into this asap.
I can't reproduce this. I tried with Fastflow setup above but I get valid values. I think this is something very specific but the search area is so wide that I'm afraid I can't solve it without more exact information from your side. Is there any possibility you share the predictions and GT data?
Describe the bug
I'm using FastFlow with wide_resnet50_2. I'm training FastFlow on MvTec. For the "carpet" class I get an AU-PRO of 1.21, which is impossible. This also happened with the same configuration of FastFlow for the class "capsule" and "grid". There was a first tentative that went well but when I ran again the code I got AU-PRO of 1.21
Dataset
MVTec
Model
FastFlow
Steps to reproduce the behavior
OS information
OS information:
Expected behavior
I'm expecting that the maximum value od AUPRO is 1.00
Screenshots
Pip/GitHub
pip
What version/branch did you use?
I used the following command: pip install anomalib
Configuration YAML
Logs
Code of Conduct