MATLAB Answers

alexnet model not installed correctly

10 ビュー (過去 30 日間)
Hanna Vanessa R. Simulata
Hanna Vanessa R. Simulata 2019 年 10 月 24 日
Hello,
I installed alexnet used Add-ons but I get the following error:
>> alexnet
Error using load
Unable to read data stream because the data contains a bad version or endian-key
Error in alexnet (line 58)
data = load(matfile);
Do you have any idea how to fix this problem please?

  0 件のコメント

サインイン to comment.

回答 (1 件)

Sai Bhargav Avula
Sai Bhargav Avula 2019 年 11 月 6 日
編集済み: Sai Bhargav Avula 2019 年 11 月 6 日
Hi,
That particular error message can either mean the file is corrupted, or it can mean that the system failed to allocate memory while loading the data.
The first case is highly unlikely as the MAT file that is trying to load is inbuilt and is working fine when executed on my system.
Memory allocation errors are due to your Operating System not having the resources to allocate any more memory. Or, you might consider increasing your physical RAM memory.
Hope this helps!

  7 件のコメント

表示 4 件の古いコメント
Hanna Vanessa R. Simulata
Hanna Vanessa R. Simulata 2019 年 11 月 6 日
I still get the same error after reinstallation
Sai Bhargav Avula
Sai Bhargav Avula 2019 年 11 月 6 日
It is really weird because I tried it on different platforms and it is working fine. For time being a possible work around would be to use MATLAB online and save the alexnet object and load it in your workspace. Update if that works.
Hanna Vanessa R. Simulata
Hanna Vanessa R. Simulata 2019 年 11 月 11 日
This worked for me. Thank you!

サインイン to comment.

サインイン してこの質問に回答します。


Translated by