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

14 ビュー (過去 30 日間)
ZHANG SICHAO
ZHANG SICHAO 2021 年 7 月 6 日
回答済み: Yash 2025 年 1 月 9 日
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.
  2 件のコメント
Miki Nikolic
Miki Nikolic 2021 年 12 月 14 日
I get the same warning.
Can somebody please help with this?? Thanks
ZHANG SICHAO
ZHANG SICHAO 2021 年 12 月 15 日
i used yolov4 on matlab. Fold src need to be added to path. So that the network works normally.
maybe you can try to add all folds to current pah.

サインインしてコメントする。

回答 (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 Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by