Deep Learning Toolbox Converter for PyTorch Models

Import pretrained PyTorch models into MATLAB


Updated 13 Sep 2023

The converter for PyTorch models enables you to import pretrained PyTorch models and weights into MATLAB.
To import a PyTorch network in MATLAB, please refer to importNetworkFromPyTorch.
The initial release in R2022b supports importing image classification models. Support for other model types will be added in future updates.
MATLAB Release Compatibility
Created with R2022b
Compatible with R2022b to R2023b
Platform Compatibility
Windows macOS (Apple silicon) macOS (Intel) Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!