Skip to content
Discussion options

You must be logged in to vote

Okay this is a little complicated because there are some models who do not train over multiple validation epochs.

For example Pathcore only does one training epoch.

But for those that do, say Fastflow we can set up an Evaluator and log the results with a logger like AnomalibTensorBoardLogger:

from anomalib.data import MVTecAD
from anomalib.engine import Engine
from anomalib.models import Fastflow
from anomalib.metrics import Evaluator, AUROC
from anomalib.loggers import AnomalibTensorBoardLogger

auroc = AUROC(fields=["pred_score", "gt_label"])

evaluator = Evaluator(val_metrics=[auroc])

model = Fastflow(evaluator=evaluator)
datamodule = MVTecAD()
engine = Engine(
    logger=AnomalibTens…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by samet-akcay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2812 on July 09, 2025 04:51.