You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fromanomalib.dataimportUCSDpedfromanomalib.modelsimportFuvasfromanomalib.engineimportEnginefromtorchvision.transformsimportv2# Load the ucsdped dataset, model and engine.datamodule=UCSDped(
root="./datasets/ucsdped",
)
model=Fuvas(visualizer=False)
engine=Engine()
# Train the modelengine.fit(model=model, datamodule=datamodule)
engine.test(model=model, datamodule=datamodule)
even with the default one, it wouldn't get the score as https://github.com/open-edge-platform/anomalib/tree/668760cd3c35f8bda040af5d23a7e1dbea05dc50/src/anomalib/models/video/fuvas
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Test metric ┃ DataLoader 0 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ image_AUROC │ 0.8508569598197937 │
│ image_F1Score │ 0.90055251121521 │
│ pixel_AUROC │ 0.9375181794166565 │
│ pixel_F1Score │ 0.38000550866127014 │
└───────────────────────────┴───────────────────────────┘
The best score that I can get is image_AUROC/pixel_AUROC = 0.93 / 0.94.
using the below configuration
# Load the ucsdped dataset, model and engine.datamodule=UCSDped(
root="./datasets/ucsdped",
)
model=Fuvas(visualizer=False,
backbone="swin3d_b",
pooling_kernel_size=2,
spatial_pool=False,
layer="features.5",
pre_processor=False
)
engine=Engine()
# Train the modelengine.fit(model=model, datamodule=datamodule)
engine.test(model=model, datamodule=datamodule)
Activity
github-actions commentedon Oct 22, 2025
Thanks for submitting this issue! It has been added to our triage queue. A maintainer will review it shortly.
kennyvoo commentedon Nov 11, 2025
even with the default one, it wouldn't get the score as https://github.com/open-edge-platform/anomalib/tree/668760cd3c35f8bda040af5d23a7e1dbea05dc50/src/anomalib/models/video/fuvas
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Test metric ┃ DataLoader 0 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ image_AUROC │ 0.8508569598197937 │
│ image_F1Score │ 0.90055251121521 │
│ pixel_AUROC │ 0.9375181794166565 │
│ pixel_F1Score │ 0.38000550866127014 │
└───────────────────────────┴───────────────────────────┘
The best score that I can get is image_AUROC/pixel_AUROC = 0.93 / 0.94.
using the below configuration
kennyvoo commentedon Nov 11, 2025
I found out the reason for this. the default size of preprocess is (256,256), I need to update the preprocess of the model
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Test metric ┃ DataLoader 0 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ image_AUROC │ 0.9080421328544617 │
│ image_F1Score │ 0.9194029569625854 │
│ pixel_AUROC │ 0.9758561849594116 │
│ pixel_F1Score │ 0.5145922303199768 │
└───────────────────────────┴───────────────────────────┘