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

조회 수: 2 (최근 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.
  댓글 수: 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 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