Prediction mask resolution when using tiler #2844
Unanswered
chanthbouala
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I've been exploring the various aspects of anomalib library. I'm currently taking a look at tiling the input images in order to feed them to reverse distillation or STFPM model for example. Everything went fine for the training phase. But when I want to predict and collect the predictions with the following lines:
if predictions is not None:
for i, prediction in enumerate(predictions):
image_path = prediction.image_path
anomaly_map = prediction.anomaly_map # Pixel-level anomaly heatmap
pred_label = prediction.pred_label # Image-level label (0: normal, 1: anomalous)
pred_mask = prediction.pred_mask # Pixel-level anomaly mask
I observe the following behavior:
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions