after training network. unable to load network after restarting matlab. matlab version is 2021a

4 次查看(过去 30 天)
Warning: Unable to load instances of class layer.mishLayer into a heterogeneous
array. The definition of layer.mishLayer could be missing or contain an error.
Default objects will be substituted.
Warning: While loading an object of class 'nnet.cnn.LayerGraph':
Array indices must be positive integers or logical values.
Warning: While loading an object of class 'dlnetwork':
Dot indexing is not supported for variables of this type.

回答(1 个)

Yash
Yash 2025-1-9
This warning typically arises when the network uses custom layers that are not on the path. Adding the customer layer(s) to MATLAB path should resolve the warning. Additionally, it may occur due to a version mismatch between MATLAB in which the network was trained and the version in which it is being loaded, as discussed in this post.

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by