I have a problem with using "alexnet" trained net

>> load(alexnet) Error using load Unable to read data stream because the data contains a bad version or endian-key
Error in alexnet (line 56) data = load(matfile);
what is that error meaning !!

9 件のコメント

Walter Roberson
Walter Roberson 2018 年 11 月 9 日
net = alexnet;
Do not load() the results of running alexnet.
Aziza Busaeed
Aziza Busaeed 2018 年 11 月 9 日
>> net = alexnet;
Error using load Unable to read data stream because the data contains a bad version or endian-key
Error in alexnet (line 56) data = load(matfile);
same error :(
Walter Roberson
Walter Roberson 2018 年 11 月 9 日
編集済み: Walter Roberson 2019 年 11 月 6 日
Might be able to tell you more about what is in the matfile. You would need to
dbstop on error
and run the code and look at the matfile variable to find out where the matfile is stored.
Saurabh Deshmukh
Saurabh Deshmukh 2019 年 7 月 14 日
Even i am facing the same problem.
>> net = alexnet
Error using load
Cannot read file
C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\nnet\supportpackages\alexnet\data\alexnet.mat.
Error in alexnet (line 56)
data = load (matfile);
Walter Roberson
Walter Roberson 2019 年 7 月 14 日
Did you happen to try the corruption tool that I have suggested?
Hanna Vanessa R. Simulata
Hanna Vanessa R. Simulata 2019 年 11 月 6 日
編集済み: Walter Roberson 2019 年 11 月 6 日
Hi,
I have the same issue as Aziza. I m using matlab2019b, windows 64bit, RAM = 32GB.
I run the file corruption tool ( https://www.mathworks.com/matlabcentral/fileexchange/6893-matcat-mat-file-corruption-analysis-tool ) and it was successful. So the mat file is not corrupted.
Any Idea how to fix this problem?
Walter Roberson
Walter Roberson 2019 年 11 月 6 日
Hanna, are you getting the message about bad version or endian key as well, or is it just saying that it cannot read the file, or is it saying failure to load ?
Hanna Vanessa R. Simulata
Hanna Vanessa R. Simulata 2019 年 11 月 6 日
yes, I do have the message about bad version or endian key as well.
Walter Roberson
Walter Roberson 2019 年 11 月 6 日
Try re-installing the support package for Alexnet.
The alexnet.mat file that gets installed is currently 227421769 bytes.

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

タグ

質問済み:

2018 年 11 月 9 日

コメント済み:

2019 年 11 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by