Personalizzazione dei loop di addestramento
Personalizzare i loop di addestramento Deep Learning e le funzioni di perdita per dati sequenziali e tabellari
Se la funzione trainingOptions
non fornisce le opzioni di addestramento necessarie per l'attività o se è presente una funzione di perdita non supportata dalla funzione trainnet
, è possibile definire un loop di addestramento personalizzato. Per i modelli che non possono essere specificati come reti di livelli, è possibile definire il modello come funzione. Per saperne di più, vedere Define Custom Training Loops, Loss Functions, and Networks.
Funzioni
Argomenti
Personalizzazione dei loop di addestramento
- Train Deep Learning Model in MATLAB
Learn how to training deep learning models in MATLAB®. - Define Custom Training Loops, Loss Functions, and Networks
Learn how to define and customize deep learning training loops, loss functions, and models. - Train Sequence Classification Network Using Custom Training Loop
This example shows how to train a network that classifies sequences with a custom learning rate schedule. - Monitor Custom Training Loop Progress
Track and plot custom training loop progress. - Train Network with Multiple Outputs
This example shows how to train a deep learning network with multiple outputs that predict both labels and angles of rotations of handwritten digits. - Classify Videos Using Deep Learning with Custom Training Loop
This example shows how to create a network for video classification by combining a pretrained image classification model and a sequence classification network. - Train Neural ODE Network
This example shows how to train an augmented neural ordinary differential equation (ODE) network. - Solve Ordinary Differential Equation Using Neural Network
This example shows how to solve an ordinary differential equation (ODE) using a neural network. - Speed Up Deep Neural Network Training
Learn how to accelerate deep neural network training.
Differenziazione automatica
- Create Bidirectional LSTM (BiLSTM) Function
This example shows how to create a bidirectional long-short term memory (BiLSTM) function for custom deep learning functions. (Da R2023b) - List of Functions with dlarray Support
View the list of functions that supportdlarray
objects. - Automatic Differentiation Background
Learn how automatic differentiation works. - Use Automatic Differentiation In Deep Learning Toolbox
How to use automatic differentiation in deep learning.