Skip to content

Conversation

mgumowsk
Copy link
Contributor

This PR enables support for models exported from Anomalib

  • padim
  • stfpm
  • uflow

Examples

Input image

cattle

Padim

Model API inference

anomaly_map min/max: 149/255
anomaly_map mean: 212.12
anomaly_map std: 25.56
anomaly_map shape: (1371, 2048)
anomaly_map dtype: uint8

padim_model_api

Anomalib inference

anomaly_map min/max: 148/255
anomaly_map mean: 219.27
anomaly_map std: 24.39
anomaly_map shape: (1371, 2048)
anomaly_map dtype: uint8

padim_anomalib

Stfpm

Model API inference

anomaly_map min/max: 119/255
anomaly_map mean: 230.04
anomaly_map std: 22.99
anomaly_map shape: (1371, 2048)
anomaly_map dtype: uint8

stfpm_model_api

Anomalib inference

anomaly_map min/max: 120/255
anomaly_map mean: 236.65
anomaly_map std: 20.05
anomaly_map shape: (1371, 2048)
anomaly_map dtype: uint8

stfpm_anomalib

Uflow

Model API inference

anomaly_map min/max: 191/191
anomaly_map mean: 191.00
anomaly_map std: 0.00
anomaly_map shape: (1371, 2048)
anomaly_map dtype: uint8

uflow_model_api

Anomalib inference:

anomaly_map min/max: 184/191
anomaly_map mean: 190.96
anomaly_map std: 0.38
anomaly_map shape: (1371, 2048)
anomaly_map dtype: uint8

uflow_anomalib

Geti anomaly model (otx)

anomaly_map min/max: 18/255
anomaly_map mean: 85.54
anomaly_map std: 55.46
anomaly_map shape: (1371, 2048)
anomaly_map dtype: uint8

geti_model_api

@mgumowsk mgumowsk requested a review from a team as a code owner August 19, 2025 09:34
@github-actions github-actions bot added the python python related changes label Aug 19, 2025
@mgumowsk mgumowsk force-pushed the mgumowsk/anomalib_support branch 2 times, most recently from fffd010 to 7bd66ce Compare August 19, 2025 10:25
@mgumowsk mgumowsk force-pushed the mgumowsk/anomalib_support branch from 7bd66ce to 711bdb8 Compare August 19, 2025 10:31
@mgumowsk mgumowsk force-pushed the mgumowsk/anomalib_support branch from fa12068 to 18f5a2d Compare August 19, 2025 11:23
@mgumowsk mgumowsk changed the title Add support for exported models from anomalib feat: add support for exported models from anomalib Aug 19, 2025
@tybulewicz tybulewicz added this pull request to the merge queue Aug 19, 2025
Merged via the queue into master with commit 1ed9ec5 Aug 19, 2025
16 checks passed
@tybulewicz tybulewicz deleted the mgumowsk/anomalib_support branch August 19, 2025 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python python related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants