SimpleNet is executed using a chained Click CLI. You can chain the net and dataset commands to configure the model architecture and the data loading pipeline, respectively. The main entrypoint main handles the execution flow, including training or testing, result logging, and saving metrics to CSV.
To run the full pipeline, you must provide configuration for both the network and the dataset. The execution follows this pattern:
- Define the network architecture using
net. - Define the dataset and data augmentation using
dataset. - The
main command then orchestrates the training/testing process.
# Example conceptual usage (actual command structure):
# python main.py --results_path ./res --run_name my_run net --backbone_names resnet50 dataset mvtec ./data --subdatasets bottle