Windows10 + eclipse + JDK1.8 + Apache Maven 3.6.0 + dl4j深度学习环境配置

时间:2021-12-02 21:10:29

Windows10 + eclipse + JDK1.8 + Apache Maven 3.6.0 + dl4j深度学习环境配置

JDK下载安装请自行,并设置好环境变量
1 查看Java版本
C:\Users\jiangshan>java -version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

Windows下 Maven安装以及环境配置,请查阅博文:https://www.cnblogs.com/happyday56/p/8968328.html

本主安装的版本Apache Maven 3.6.0【下载 apache-maven-3.6.0-bin.zip】
2 查看Maven版本
C:\Users\jiangshan>mvn -version
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-25T02:41:47+08:00)
Maven home: C:\Program Files\apache-maven-3.6.0\bin\..
Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_191\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

3 以上正确无误后,下一步:
下载dl4j-examples-master.zip【https://github.com/deeplearning4j/dl4j-examples
并解压

4 打开eclipse,将解压好的项目导入eclipse工具中(File->Import->Existing Maven Projects)

Windows10 + eclipse + JDK1.8 + Apache Maven 3.6.0 + dl4j深度学习环境配置

右下角有进度提示:

Windows10 + eclipse + JDK1.8 + Apache Maven 3.6.0 + dl4j深度学习环境配置

5  成功导入

Windows10 + eclipse + JDK1.8 + Apache Maven 3.6.0 + dl4j深度学习环境配置

6 运行 例子

Windows10 + eclipse + JDK1.8 + Apache Maven 3.6.0 + dl4j深度学习环境配置

Windows10 + eclipse + JDK1.8 + Apache Maven 3.6.0 + dl4j深度学习环境配置