predict
Description
calculates the unnormalized anomaly scores predicted by an anomaly detector during inference
for a set of test images, scores = predict(detector,I)I. Use this function to get predictions from
the output layers of the detector during inference.
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.
specifies options using one or more name-value arguments. For example,
scores = predict(detector,I,Name=Value)predict(detector,I,MiniBatchSize=32) limits the batch size to
32.