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

18 lines
561 B
Python

"""Run tiled ensemble training."""
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
from anomalib.pipelines.tiled_ensemble import EvalTiledEnsemble, TrainTiledEnsemble
if __name__ == "__main__":
print("Running tiled ensemble train pipeline")
train_pipeline = TrainTiledEnsemble()
# run training
train_pipeline.run()
print("Running tiled ensemble test pipeline.")
# pass the root dir from train run to load checkpoints
test_pipeline = EvalTiledEnsemble(train_pipeline.root_dir)
test_pipeline.run()