trainSSDObjectDetector
Syntax
Description
Train a Detector
trains a single shot multibox detector (SSD) using deep learning. You can train an SSD
detector to detect multiple object classes. Use this syntax to train either an untrained
or pretrained SSD object detection network. You can also use this syntax to fine-tune a
network with additional training data or to perform more training iterations to improve
detector accuracy.trainedDetector
= trainSSDObjectDetector(trainingData
,detector
,options
)
This function requires that you have Deep Learning Toolbox™. 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).
trains a SSD object detector specified as a trainedDetector
= trainSSDObjectDetector(trainingData
,net
,options
)LayerGraph
(Deep Learning Toolbox)
object. This syntax is not recommended and will be removed in a future release.
Resume Training a Detector
resumes training from a detector checkpoint.trainedDetector
= trainSSDObjectDetector(trainingData
,checkpoint
,options
)
Additional Properties
uses additional options specified by one or more trainedDetector
= trainSSDObjectDetector(___,Name,Value
)Name,Value
pair
arguments and any of the previous inputs.
[___,
also returns information on the training progress, such as training loss and accuracy, for
each iteration.info
] = trainSSDObjectDetector(___)
Examples
Input Arguments
Output Arguments
References
[1] W. Liu, E. Anguelov, D. Erhan, C. Szegedy, S. Reed, C.Fu, and A.C. Berg. "SSD: Single Shot MultiBox Detector." European Conference on Computer Vision (ECCV), Springer Verlag, 2016
Version History
Introduced in R2020aSee Also
Apps
Functions
trainingOptions
(Deep Learning Toolbox) |objectDetectorTrainingData
Objects
Topics
- Object Detection Using SSD Deep Learning
- Estimate Anchor Boxes From Training Data
- Code Generation for Object Detection by Using Single Shot Multibox Detector
- Train Object Detectors in Experiment Manager
- Getting Started with SSD Multibox Detection
- Anchor Boxes for Object Detection
- Datastores for Deep Learning (Deep Learning Toolbox)