Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/benchmarks/compare_with_anomalib.py
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,7 @@ def _anomalib_preprocess(model, images):
def _anomalib_raw(model, images):
"""Torch model on already pre-processed images, skipping Anomalib's
post-processor (min-max normalisation + clamping), like AnomaVision."""
model.model = model.model.to(images.device)
output = model.model(images)

if not getattr(model, "_debug_features_printed", False):
Expand Down
Loading