深度学习Deeplearning4j eclipse 开发环境搭建

eclipse设置deeplearning4j开发环境:手动添加jar包

https://deeplearning4j.org/cn/eclipse

eclipse maven设置deeplearning4j开发环境

https://depiesml.wordpress.com/2015/08/26/dl4j-gettingstarted/

准备:首先要配置eclipse  maven  以及maven插件

1.      创建maven工程:

点击eclipse File->new->other 弹出对话框输入maven

点击 Maven Preject  next  选择maven-archtype-quickstart1.1 选择项输入grouptid : com.test  ArtifactID :dl4j  点击finish

2.      修改pom文件

将下边pom内容复制到原来pom中 :

https://github.com/deeplearning4j/dl4j-examples/blob/master/pom.xml

pom中添加依赖:

  1. <dependencyManagement>
  2. <dependencies>
  3. <dependency>
  4. <groupId>org.nd4j</groupId>
  5. <artifactId>nd4j-native-platform</artifactId>
  6. <version>${nd4j.version}</version>
  7. </dependency>
  8. <dependency>
  9. <groupId>org.nd4j</groupId>
  10. <artifactId>nd4j-cuda-7.5-platform</artifactId>
  11. <version>${nd4j.version}</version>
  12. </dependency>
  13. <dependency>
  14. <groupId>org.nd4j</groupId>
  15. <artifactId>nd4j-cuda-8.0-platform</artifactId>
  16. <version>${nd4j.version}</version>
  17. </dependency>
  18. </dependencies>
  19. </dependencyManagement>
  20. <dependencies>
  21. <!-- ND4J backend. You need one in every DL4J project. Normally define
  22. artifactId as either "nd4j-native-platform" or "nd4j-cuda-7.5-platform" -->
  23. <dependency>
  24. <groupId>org.nd4j</groupId>
  25. <artifactId>${nd4j.backend}</artifactId>
  26. </dependency>
  27. <!-- Core DL4J functionality -->
  28. <dependency>
  29. <groupId>org.deeplearning4j</groupId>
  30. <artifactId>deeplearning4j-core</artifactId>
  31. <version>${dl4j.version}</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.deeplearning4j</groupId>
  35. <artifactId>deeplearning4j-nlp</artifactId>
  36. <version>${dl4j.version}</version>
  37. </dependency>
  38. <!-- deeplearning4j-ui is used for HistogramIterationListener + visualization:
  39. see http://deeplearning4j.org/visualization -->
  40. <dependency>
  41. <groupId>org.deeplearning4j</groupId>
  42. <artifactId>deeplearning4j-ui_${scala.binary.version}</artifactId>
  43. <version>${dl4j.version}</version>
  44. </dependency>
  45. <!-- Force guava versions for using UI/HistogramIterationListener -->
  46. <dependency>
  47. <groupId>com.google.guava</groupId>
  48. <artifactId>guava</artifactId>
  49. <version>${guava.version}</version>
  50. </dependency>
  51. <!-- datavec-data-codec: used only in video example for loading video data -->
  52. <dependency>
  53. <artifactId>datavec-data-codec</artifactId>
  54. <groupId>org.datavec</groupId>
  55. <version>${datavec.version}</version>
  56. </dependency>
  57. <!-- Used in the feedforward/classification/MLP* and feedforward/regression/RegressionMathFunctions
  58. example -->
  59. <dependency>
  60. <groupId>jfree</groupId>
  61. <artifactId>jfreechart</artifactId>
  62. <version>${jfreechart.version}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.jfree</groupId>
  66. <artifactId>jcommon</artifactId>
  67. <version>${jcommon.version}</version>
  68. </dependency>
  69. <!-- Used for downloading data in some of the examples -->
  70. <dependency>
  71. <groupId>org.apache.httpcomponents</groupId>
  72. <artifactId>httpclient</artifactId>
  73. <version>4.3.5</version>
  74. </dependency>
  75. </dependencies>

3.      更新

右击项目名->Maven ->Update Project

DeepLearning4J 环境搭建【转】的更多相关文章

  1. .NET Core系列 : 1、.NET Core 环境搭建和命令行CLI入门

    2016年6月27日.NET Core & ASP.NET Core 1.0在Redhat峰会上正式发布,社区里涌现了很多文章,我也计划写个系列文章,原因是.NET Core的入门门槛相当高, ...

  2. Azure Service Fabric 开发环境搭建

    微服务体系结构是一种将服务器应用程序构建为一组小型服务的方法,每个服务都按自己的进程运行,并通过 HTTP 和 WebSocket 等协议相互通信.每个微服务都在特定的界定上下文(每服务)中实现特定的 ...

  3. rnandroid环境搭建

    react-native 环境搭建具体步骤这个大家已经玩烂了,这个主要是记录下来自己做win7系统遇到的坑 1.com.android.ddmlib.installexception 遇到这个问题,在 ...

  4. python开发环境搭建

    虽然网上有很多python开发环境搭建的文章,不过重复造轮子还是要的,记录一下过程,方便自己以后配置,也方便正在学习中的同事配置他们的环境. 1.准备好安装包 1)上python官网下载python运 ...

  5. springMVC初探--环境搭建和第一个HelloWorld简单项目

    注:此篇为学习springMVC时,做的笔记整理. MVC框架要做哪些事情? a,将url映射到java类,或者java类的方法上 b,封装用户提交的数据 c,处理请求->调用相关的业务处理—& ...

  6. 【定有惊喜】android程序员如何做自己的API接口?php与android的良好交互(附环境搭建),让前端数据动起来~

    一.写在前面 web开发有前端和后端之分,其实android还是有前端和后端之分.android开发就相当于手机app的前端,一般都是php+android或者jsp+android开发.androi ...

  7. Nexus(一)环境搭建

    昨天,成功搭建了自己的 Maven 环境(详见:Maven(一)环境搭建),今天就来研究和探讨下 Nexus 的搭建! 使用背景: 安装环境:Windows 10 -64位 JDK版本:1.7 Mav ...

  8. 「译」JUnit 5 系列:环境搭建

    原文地址:http://blog.codefx.org/libraries/junit-5-setup/ 原文日期:15, Feb, 2016 译文首发:Linesh 的博客:环境搭建 我的 Gith ...

  9. appium+robotframework环境搭建

    appium+robotframework环境搭建步骤(Windows系统的appium自动化测试,只适用于测试安卓机:ios机需要在mac搭建appium环境后测试) 搭建步骤,共分为3部分: 一. ...

随机推荐

  1. day31 堡垒机尾声 + Python与金融量化分析(一)

    堡垒机尾声: 代码案例:https://github.com/liyongsan/git_class/tree/master/day31 课堂笔记:file send: 1.选择本地文件 2.远程路径 ...

  2. python 调用接口

    这个比较乱,抽口再修改一下. 工作需要调有赞API的接口数据,  返回数据. 进行数据处理 现在两部分比较重要:1 自动获取数据  ,  2处理excel的过程. 明白接口的过程.传入参数   htt ...

  3. MySQL简单的操作,增删改查

    B/S架构模式与C/S架构模式的区别 B/S=WEB/SERVER C/S=CLIENT/SERVIR B/S:用户通过web浏览器打开域名就能访问服务器server的方式就叫做B/S用户不需要安装任 ...

  4. 《Effective C++》第3章 资源管理(1)-读书笔记

    章节回顾: <Effective C++>第1章 让自己习惯C++-读书笔记 <Effective C++>第2章 构造/析构/赋值运算(1)-读书笔记 <Effecti ...

  5. SpringInAction--自动化装配(显示装配之 java注解配置)

    Spring在配置时候有三种方案可选 1.在xml中进行显示配置 2.在java中进行显示配置 3.隐式的Bean发现机制和自动装配 今天学习的 第二种—— 在java中进行显示配置 场景: 尽管在很 ...

  6. 20165202 2017-2018-2 《Java程序设计》第8周学习总结

    20165202 2017-2018-2 <Java程序设计>第8周学习总结 教材学习内容总结 Ch12 进程与线程 线程是比进程更小的单位,一个进程在其执行过程中,可以产生多个线程 Ja ...

  7. 浅析Postgres中的并发控制(Concurrency Control)与事务特性(上)(转)

    这篇博客将MVCC讲的很透彻,以前自己懂了,很难给别人讲出来,但是这篇文章给的例子就让人很容易的复述出来,因此想记录一下,转载给更多的人 转自:https://www.cnblogs.com/flyi ...

  8. c# 系统校时工具类

    using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HuaT ...

  9. python的if判断补充

    python的if判断补充 exit_flag = False # 标识符 if exit_flag == False: print('exit_flag == False') exit_flag = ...

  10. android代码常识

    查看当前android代码版本号:build/core/version_defaults.mk---->查找platform_version android源码在线阅读网址 http://and ...