Skip to content

πŸš€ feat(model): add GLASS model into Anomalib #2629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 11 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
2 changes: 2 additions & 0 deletions src/anomalib/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
Fastflow,
Fre,
Ganomaly,
Glass,
Padim,
Patchcore,
ReverseDistillation,
Expand Down Expand Up @@ -102,6 +103,7 @@ class UnknownModelError(ModuleNotFoundError):
"Fastflow",
"Fre",
"Ganomaly",
"Glass",
"Padim",
"Patchcore",
"ReverseDistillation",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

from .timm import TimmFeatureExtractor
from .utils import dryrun_find_featuremap_dims

__all__ = [
"dryrun_find_featuremap_dims",
"TimmFeatureExtractor",
Expand Down
4 changes: 3 additions & 1 deletion src/anomalib/models/image/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
from .fastflow import Fastflow
from .fre import Fre
from .ganomaly import Ganomaly
from .glass import Glass
from .padim import Padim
from .patchcore import Patchcore
from .reverse_distillation import ReverseDistillation
Expand All @@ -76,12 +77,13 @@
"Fastflow",
"Fre",
"Ganomaly",
"Glass",
"Padim",
"Patchcore",
"ReverseDistillation",
"Stfpm",
"Supersimplenet",
"Uflow",
"VlmAd",
"WinClip",
"WinClip"
]
4 changes: 4 additions & 0 deletions src/anomalib/models/image/glass/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright (C) 2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

from .lightning_model import Glass as Glass
Loading