MATLAB installation AlexNet failed to solve the problem

MATLAB installation AlexNet failed to solve the problem

Recently, I have been working on my graduation project and used the AlexNet network for testing, but encountered the problem of "There was a problem downloading the support package. To solve this problem, please refer to this MATLAB answer". After consulting the relevant literature network, there are relatively few solutions. After that, I found the relevant solution on the official extranet of MATLAB.

1. First of all, make sure that it must be 2016B and above. Some computers may not work in 2016. I use the 2019A version

2. The default network connection is normal, and anti-virus software such as firewalls are turned off.
3. Under System Variables, select New. Set the first variable name "JAVA_TOOL_OPTIONS", its value is "-Djava.net.preferIPv4Stack=true" (enter without quotation marks).

4Select New again. Set the second variable name "JAVA_OPTIONS", its value is "-Djava.net.preferIPv4Stack=true" (input without quotation marks), and then click OK to
restart MATLAB to complete the installation.
It may take longer, about 30 minutes.

Can be tested after installation
insert image description here

Guess you like

Origin blog.csdn.net/qq_42666791/article/details/104776895