trainEfficientADAnomalyDetector
Syntax
Description
trains the input EfficientAD anomaly detection network detector
= trainEfficientADAnomalyDetector(normalData
,detectorIn
,options
)detectorIn
. The
training data consists of the specified normal images
normalData
.
Note
This functionality requires Deep Learning Toolbox™ and the Automated Visual Inspection Library for Computer Vision Toolbox™. You can install the Automated Visual Inspection Library for Computer Vision Toolbox from Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
Note
It is recommended that you also have Parallel Computing Toolbox™ to use with a CUDA® enabled NVIDIA® GPU. For information about the supported compute capabilities, see GPU Computing Requirements (Parallel Computing Toolbox).
specifies the data ratio to use for anomaly map normalization, in addition to the input
arguments from the previous syntax.detector
= trainEfficientADAnomalyDetector(___,Ratio=MapNormalizationDataRatio
)
Input Arguments
Output Arguments
Tips
For a given training image size and number of training images, if the peak memory usage for creating a memory bank exceeds the available memory, EfficientAD outputs a warning. To address insufficient memory, try reducing image resolution, using fewer training images, or enhancing GPU performance.
Version History
Introduced in R2024b