Why is a "DAGNetwork" Object Being Loaded From a MAT File as a "uint32" in a Compiled Application?
Show older comments
In MATLAB, I created a "DAGNetwork" object for a "ResNet-18" convolutional neural network and saved the object to a MAT file. The code below demonstrates this process.
net = resnet18;
save myNetFile net;
I created a standalone application by compiling a function which loads this "DAGNetwork" object from the MAT file. However, when I execute the standalone application, the following warning is displayed when the object is loaded:
Warning: Variable 'net' originally saved as a DAGNetwork cannot be instantiated as an object and will be read in as a uint32.
Why is the "DAGNetwork" object loaded from the MAT file as a "uint32"?
Accepted Answer
More Answers (0)
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!