Skip to content
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

πŸš€ Add Real-IAD dataset #2545

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Revert the latest commit
Signed-off-by: Samet Akcay <samet.akcay@intel.com>
samet-akcay committed Mar 7, 2025
commit 705ddd2fc18b4de2856746d12377c48639a9b261
7 changes: 6 additions & 1 deletion src/anomalib/data/datamodules/image/realiad.py
Original file line number Diff line number Diff line change
@@ -184,7 +184,12 @@ def __init__(

self.root = Path(root)
self.category = category
self.resolution = str(resolution)

# Convert resolution to string if it's an integer
if isinstance(resolution, int):
resolution = str(resolution)

self.resolution = resolution
self.json_path = json_path

# Validate inputs