Last active
April 25, 2020 07:50
-
-
Save yptheangel/280e5d40f31bd0895d72acecc0934ee4 to your computer and use it in GitHub Desktop.
My minimalist pom.xml for using Eclipse Deeplearning4j in a Maven project.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.certifai</groupId> | |
<artifactId>MyDL4JProject</artifactId> | |
<version>0.1-SNAPSHOT</version> | |
<name>Computer Vision</name> | |
<properties> | |
<!-- Change the nd4j.backend property to nd4j-cuda-9.2-platform,nd4j-cuda-10.0-platform or nd4j-cuda-10.1-platform to use CUDA GPUs --> | |
<nd4j.backend>nd4j-cuda-10.1-platform</nd4j.backend> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<shadedClassifier>bin</shadedClassifier> | |
<nd4j.version>1.0.0-beta6</nd4j.version> | |
<dl4j.version>1.0.0-beta6</dl4j.version> | |
<datavec.version>1.0.0-beta6</datavec.version> | |
<arbiter.version>1.0.0-beta6</arbiter.version> | |
<rl4j.version>1.0.0-beta6</rl4j.version> | |
<scala.binary.version>2.11</scala.binary.version> | |
<spark.version>2.4.3</spark.version> | |
<hadoop.version>2.2.0</hadoop.version> <!-- Hadoop version used by Spark 1.6.3 and 2.2.1 (and likely others) --> | |
<guava.version>19.0</guava.version> | |
<jcommon.version>1.0.23</jcommon.version> | |
<maven-compiler-plugin.version>3.6.1</maven-compiler-plugin.version> | |
<maven-shade-plugin.version>2.4.3</maven-shade-plugin.version> | |
<exec-maven-plugin.version>1.4.0</exec-maven-plugin.version> | |
<maven.minimum.version>3.3.1</maven.minimum.version> | |
<javafx.version>2.2.3</javafx.version> | |
<scala.plugin.version>3.2.2</scala.plugin.version> | |
</properties> | |
<repositories> | |
<repository> | |
<id>snapshots-repo</id> | |
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</repository> | |
</repositories> | |
<dependencies> | |
<!-- ND4J backend. You need one in every DL4J project. Normally define artifactId as either nd4j-native-platform or nd4j-cuda-X.X-platform to use CUDA GPUs (check parent pom for supported cuda versions) --> | |
<dependency> | |
<groupId>org.nd4j</groupId> | |
<artifactId>${nd4j.backend}</artifactId> | |
<version>${nd4j.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.deeplearning4j</groupId> | |
<artifactId>deeplearning4j-cuda-10.1</artifactId> | |
<version>${dl4j.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.bytedeco</groupId> | |
<artifactId>cuda-platform</artifactId> | |
<version>10.1-7.6-1.5.2</version> | |
</dependency> | |
<!-- Additional dependencies to use bundled CUDA, cuDNN, and NCCL --> | |
<dependency> | |
<groupId>org.bytedeco</groupId> | |
<artifactId>cuda-platform-redist</artifactId> | |
<version>10.1-7.6-1.5.2</version> | |
</dependency> | |
<dependency> | |
<groupId>org.deeplearning4j</groupId> | |
<artifactId>deeplearning4j-zoo</artifactId> | |
<version>${dl4j.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.deeplearning4j</groupId> | |
<artifactId>deeplearning4j-nn</artifactId> | |
<version>${dl4j.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.bytedeco</groupId> | |
<artifactId>javacv-platform</artifactId> | |
<version>1.5.2</version> | |
</dependency> | |
<dependency> | |
<groupId>ch.qos.logback</groupId> | |
<artifactId>logback-classic</artifactId> | |
<version>1.2.3</version> | |
</dependency> | |
<dependency> | |
<groupId>org.deeplearning4j</groupId> | |
<artifactId>deeplearning4j-ui</artifactId> | |
<version>1.0.0-beta6</version> | |
</dependency> | |
</dependencies> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment