- Dataset(s)
- model topology
- Baseline floating point
- AUC
- 85%
- AUC
- AD03
- AUC
- 82%
- AUC
This a training environment based on the MLCommons Anomaly Detection reference model
Run through the following commands to instantiate the training environment
# Download the training dataset
./get_dataset.sh
# Download conda env if you don't already have it
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
# Instantiate the environment with conda using the environment file provided
conda init bash
conda env create -f environment.yml
conda activate tiny-mlperf-env
The training script train.py
takes one argument, which is -c
or --config
which accepts a .yml
model configuration file. If none is selected, a default baseline.yml
' file in the working directory will be selected.
e.g.:
python train.py -c ad03.yml
After a model has been trained, the test script works similarly to the training script. Argument is .yml
config file, default is again a baseline.yml
file in the working directory.
e.g.:
python test.py -c ad03.yml
python convert.py -c <model_config>.yml
, a defaultbaseline.yml
config file is provided as well.- if you want to create/use a test bench during conversion, you can first run:
python generate_test_data.py -c ad03.yml
- e.g.:
python convert.py -c ad03.yml