-
Hello, I have a question regarding the training of EfficientAD: Regardless of how many epochs I train, all metrics (F1, Image AUROC, Pixel Auroc) increase strongly at the last two epochs. All previous epochs seem to contribute nothing to the good result. What is the reason for this? Is this a peculiarity of EfficientAD? I have attached two diagrams that show the Imge AUROC score over the trained epochs. The diagrams were created when training the exact same dataset with the exact same configuration. The only difference is the number of epochs trained. It can be seen that regardless of the number of epochs, the last two epochs always lead to a good result. All previous epochs seem to contribute nothing to the result. The following is the configuration: dataset: model: metrics: visualization: project: logging: optimization: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello. This is quite a big leap, I believe it comes from anomaly map normalization that is part of the model. The reason it happens at the end is due to these lines: anomalib/src/anomalib/models/efficient_ad/lightning_model.py Lines 245 to 251 in 66532fc So only on the very last step the quantiles, used for normalizing, are calculated. However, I'm not entirely sure, @alexriedel1 might know more. |
Beta Was this translation helpful? Give feedback.
I have added a quick fix here.