Johanna Pingel, MathWorks
Learn how MATLAB®can help with any part of the deep learning workflow: from preprocessing through deployment. This video provides a high-level overview of deep learning techniques for images and video. It describes the complete workflow, and it shows how MATLAB can help with deep learning applications at various stages, including importing and preprocessing images, importing pretrained models, training models with GPUs, debugging deep learning results, and deploying deep learning models to hardware including embedded GPUs.
The deep learning framework in MATLAB includes a complete workflow to help you get started quickly, identify problems, and save time.
无论您是深度学习的初学者还是专家,Matlab都可以帮助 - 从预处理到部署一直。
设计深入学习模型可能是挑战的最少。
幸运的是,Matlab有很多例子可以帮助您开始使用,并且您可以通过专家设计的许多流行型号,并培训数百万图像,为转移学习提供了一个很好的起点。
MATLAB provides tools to import models from Pytorch and TensorFlow-Keras in addition to ONNX import and export capabilities.
Before you train a model, you need data. Lots of it. Large databases are widely available and you can access these from MATLAB, but to produce any kind of reasonable results, we need to separate the object from “not the object”. How do you label objects in thousands of images without spending weeks?
MATLAB provides apps to help with this challenge. For example,
您可以选择您在每个图像中关心的对象
You can even select the pixels that are part of an object or category. [This is essential for semantic segmentation data]
并且您可以通过使用对象探测器(自定义或预构建)来自动化此操作,以便通过整个视频运行,并以秒为单位生成对象的许多图像。
现在是时候训练网络了。随着所有这些数据,以及这些网络的复杂结构,这可能需要数小时或几天。为了帮助速度,我们支持NVIDIA GPU。金宝app
MATLAB handles transferring your data to the GPU or multiple GPUs, so you don’t need to manually set it up or program it yourself. Scale up to clusters and clouds and train your network more quickly, or even run multiple trainings in parallel.
Here’s a step people sometimes miss: what happens if the trained network doesn’t perform well? MATLAB can help provide insight into your network. You can visualize layers and see what actually happens when an image is passed through the network. You can also visualize the training process to get a sense of how it is going long before it finishes.
在这些步骤结束时,可能在几个迭代之后,您有一个完全训练的网络来执行任务。现在是时候谈话部署了。
MATLAB can help you quickly deploy your code anywhere – including the web, your phone, or embedded GPUs.
It turns out MATLAB code runs prediction on a GPU very quickly. The significant change comes with code generation optimizing the CUDA code -- the code that runs natively on NVIDIA GPUs.
您可以在此处清楚地看到速度的差异。
还有关于其他领域的深度学习研究,如语音识别和文本分析。以下是在MATLAB中运行的非图像深度学习任务的两个示例。
While it does makes deep learning easier and more accessible, MATLAB isn't just a deep learning framework. You have access to everything else MATLAB offers, too.
You can also access other languages within MATLAB. Bring your open source work into MATLAB, and then use our rich visualizations and apps to work with that data.
Check out our website to find out more about the latest capabilities and ways to get started.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:.
Selectweb site您还可以从以下列表中选择一个网站:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.