DeepLearning4J 环境搭建【转】
文章目录
深度学习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中添加依赖:
[plain] view plain copy
org.nd4j
nd4j-native-platform
${nd4j.version}
org.nd4j
nd4j-cuda-7.5-platform
${nd4j.version}
org.nd4j
nd4j-cuda-8.0-platform
${nd4j.version}
<!-- ND4J backend. You need one in every DL4J project. Normally define
artifactId as either "nd4j-native-platform" or "nd4j-cuda-7.5-platform" -->
org.nd4j
${nd4j.backend}
org.deeplearning4j
deeplearning4j-core
${dl4j.version}
org.deeplearning4j
deeplearning4j-nlp
${dl4j.version}
<!-- deeplearning4j-ui is used for HistogramIterationListener + visualization:
org.deeplearning4j
deeplearning4j-ui_${scala.binary.version}
${dl4j.version}
com.google.guava
guava
${guava.version}
datavec-data-codec
org.datavec
${datavec.version}
<!-- Used in the feedforward/classification/MLP* and feedforward/regression/RegressionMathFunctions
example -->
jfree
jfreechart
${jfreechart.version}
org.jfree
jcommon
${jcommon.version}
org.apache.httpcomponents
httpclient
4.3.5
3. 更新
右击项目名->Maven ->Update Project
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论