mirror of
https://github.com/hanzoai/anomalib.git
synced 2026-10-30 18:48:11 +00:00
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.
15 lines
535 B
Plaintext
15 lines
535 B
Plaintext
# Get help about the training arguments, run:
|
|
anomalib train -h
|
|
|
|
# Train by using the default values.
|
|
anomalib train --model EfficientAd --data anomalib.data.MVTecAD --data.train_batch_size 1
|
|
|
|
# Train by overriding arguments.
|
|
anomalib train --model EfficientAd --data anomalib.data.MVTecAD --data.train_batch_size 1 --data.category transistor
|
|
|
|
# Train by using a config file.
|
|
anomalib train --config <path/to/config>
|
|
|
|
# Continue training from a checkpoint
|
|
anomalib train --config <path/to/config> --ckpt_path <path/to/checkpoint.ckpt>
|