Bucles de entrenamiento personalizados
Personalice bucles de entrenamiento y funciones de pérdida de deep learning para redes de imágenes
Si la función trainingOptions
no proporciona las opciones de entrenamiento que necesita para la tarea o tiene una función de pérdida que la función trainnet
no admite, puede definir un bucle de entrenamiento personalizado. Para los modelos que no se pueden especificar como redes de capas, puede definir el modelo como una función. Para obtener más información, consulte Define Custom Training Loops, Loss Functions, and Networks.
Funciones
Temas
Bucles de entrenamiento personalizados
- 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. - Entrenar una red con un bucle de entrenamiento personalizado
En este ejemplo se muestra cómo entrenar una red que clasifica dígitos manuscritos con una programación de tasa de aprendizaje personalizada. - 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 Image Classification Network Robust to Adversarial Examples
This example shows how to train a neural network that is robust to adversarial examples using fast gradient sign method (FGSM) adversarial training. - Speed Up Deep Neural Network Training
Learn how to accelerate deep neural network training.
Diferenciación automática
- 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.