Saved DAGNetwork model is empty when accessed on a differnt machine
2 次查看(过去 30 天)
显示 更早的评论
I have trained a CNN in pytorch and loaded it into Matlab via ONNX import and saved it is an DAGNetwork. The created DAGNetwork works fine on my computer but when I try to load the same .mat file on another machine, the DAGNetwork cannot be properly loaded. Connections, Layer fields, etc. cannot be accessed. Does anyone know why that is the case?
To my understanding everything that you need to use the model is stored in the DAGNetwork.
3 个评论
Sivylla Paraskevopoulou
2022-12-2
In R2022b, MATLAB introduced the Deep Learning Toolbox Converter for PyTorch Models support package. This initial release supports importing image classification models directly from PyTorch. For more details, check out the blog post What’s New in Interoperability with TensorFlow and PyTorch and the importNetworkFromPyTorch documentation page.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!