Tuning - MATLAB & Simulink (original) (raw)

Programmatically tune training options, resume training from a checkpoint, and investigate adversarial examples

To learn how to set options using the trainingOptions function, see Set Up Parameters and Train Convolutional Neural Network. After you identify some good starting options, you can automate sweeping of hyperparameters or try Bayesian optimization using Experiment Manager.

Investigate network robustness by generating adversarial examples. You can then use fast gradient sign method (FGSM) adversarial training to train a network robust to adversarial perturbations.

Apps

Deep Network Designer Design and visualize deep learning networks

Objects

trainingProgressMonitor Monitor and plot training progress for deep learning custom training loops (Since R2022b)

Functions

trainingOptions Options for training deep learning neural network
trainnet Train deep learning neural network (Since R2023b)

Topics

Resume Training from Checkpoint Network

Resume Training from Checkpoint Network

Save checkpoint networks while training a deep learning network and resume training from a previously saved network.

Generate Untargeted and Targeted Adversarial Examples for Image Classification

Generate Untargeted and Targeted Adversarial Examples for Image Classification

Use the fast gradient sign method (FGSM) and the basic iterative method (BIM) to generate adversarial examples for a pretrained neural network.

Generate Adversarial Examples for Semantic Segmentation

Generate Adversarial Examples for Semantic Segmentation

Generate adversarial examples for a semantic segmentation network using the basic iterative method (BIM).

Train Image Classification Network Robust to Adversarial Examples

Train Image Classification Network Robust to Adversarial Examples

Train a neural network that is robust to adversarial examples using fast gradient sign method (FGSM) adversarial training.

Train Robust Deep Learning Network with Jacobian Regularization

Train Robust Deep Learning Network with Jacobian Regularization

Train a neural network that is robust to adversarial examples using a Jacobian regularization scheme.