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"?
Best Answer