Files
zeekay dda5b2a367 restore the tree
The previous commit was meant to remove .github/workflows and removed
every tracked path instead — 892 files, the whole repo. This puts back
the 874 that were never in scope; the eighteen workflow files stay gone,
for the reasons that commit gives.

Content is byte-identical to 9d2aec9 outside .github/workflows.
2026-08-13 23:27:57 -07:00

17 lines
395 B
Plaintext

# Import the datamodule
from anomalib.data import Folder
from anomalib.data.utils import TestSplitMode, ValSplitMode
# Create the datamodule
datamodule = Folder(
name="hazelnut_toy",
root="datasets/hazelnut_toy",
normal_dir="good",
val_split_mode=ValSplitMode.NONE,
test_split_mode=TestSplitMode.NONE,
task="classification",
)
# Setup the datamodule
datamodule.setup()