alexnet model not installed correctly
Mostrar comentarios más antiguos
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?
Respuestas (1)
Sai Bhargav Avula
el 6 de Nov. de 2019
Editada: Sai Bhargav Avula
el 6 de Nov. de 2019
0 votos
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 comentarios
Walter Roberson
el 6 de Nov. de 2019
alexnet is from R2017a, at which point all MATLAB are 64 bit.
Sai Bhargav Avula
el 6 de Nov. de 2019
Editada: Sai Bhargav Avula
el 6 de Nov. de 2019
Yes, the last version was 2015b. I have updated the same in the answer.
Thank you
Hanna Vanessa R. Simulata
el 6 de Nov. de 2019
Sai Bhargav Avula
el 6 de Nov. de 2019
I think its enough. Could you try to reinstall and update if you are getting the same error?
Hanna Vanessa R. Simulata
el 6 de Nov. de 2019
Sai Bhargav Avula
el 6 de Nov. de 2019
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
el 11 de Nov. de 2019
Categorías
Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!