Error when trying to load pretained network net = alexnet;

5 views (last 30 days)
Oscar Landa
Oscar Landa on 3 Apr 2020
Edited: Sai Bhargav Avula on 3 Apr 2020
Error using load
Unable to read file
'/Users/olanda/Documents/MATLAB/SupportPackages/R2019b/toolbox/nnet/supportpackages/alexnet/data/alexnet.mat'. Nosuch file or directory.

Answers (1)

Sai Bhargav Avula
Sai Bhargav Avula on 3 Apr 2020
Edited: Sai Bhargav Avula on 3 Apr 2020
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.
Also, have you installed the support package.If you have already installed support package try reinstalling.
For reference you look at the below link:
Hope this helps!

Community Treasure Hunt

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

Start Hunting!