Main Content

内置训练

使用内置训练函数训练图像数据的深度学习网络

定义网络架构后,您可以使用 trainingOptions 函数定义训练参数。然后,您可以使用 trainnet 函数训练网络。使用经过训练的网络预测类标签或数值响应。

您可以在一个 CPU、一个 GPU、多个 CPU 或 GPU 上训练神经网络,或者在集群中并行训练或在云中训练。在 GPU 上训练或并行训练需要 Parallel Computing Toolbox™。使用 GPU 需要支持的 GPU 设备(有关受支持设备的信息,请参阅GPU Computing Requirements (Parallel Computing Toolbox))。使用 trainingOptions 函数指定执行环境。

App

深度网络设计器设计和可视化深度学习网络

函数

全部展开

trainingOptionsOptions for training deep learning neural network
trainnetTrain deep learning neural network (自 R2023b 起)
analyzeNetworkAnalyze deep learning network architecture
predictCompute deep learning network output for inference (自 R2019b 起)
minibatchpredictMini-batched neural network prediction (自 R2024a 起)
scores2labelConvert prediction scores to labels (自 R2024a 起)
confusionchartCreate confusion matrix chart for classification problem
sortClassesSort classes of confusion matrix chart

主题