Skip to content

Instantly share code, notes, and snippets.

@nvinayvarma189
Created June 24, 2019 12:48
Show Gist options
  • Save nvinayvarma189/4a216a3e27b5b33b697eaf95d595e31d to your computer and use it in GitHub Desktop.
Save nvinayvarma189/4a216a3e27b5b33b697eaf95d595e31d to your computer and use it in GitHub Desktop.
POM.xml file I used for Keras model import
<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>
<artifactId>dl4j-quickstart</artifactId>
<groupId>org.deeplearning4j</groupId>
<version>1.0.0-beta2</version>
<packaging>jar</packaging>
<properties>
<dl4j.version>1.0.0-beta2</dl4j.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>org.nd4j</groupId>
<!-- Use nd4j-native-platform for CPU and nd4j-cuda-8.0-platform or nd4j-cuda-9.2-platform for GPU -->
<!-- Note: Some use-cases (like Word2Vec work better with CPU) -->
<artifactId>nd4j-native-platform</artifactId>
<version>${dl4j.version}</version>
</dependency>
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>deeplearning4j-core</artifactId>
<version>${dl4j.version}</version>
</dependency>
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>deeplearning4j-ui_2.10</artifactId>
<version>${dl4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.21</version>
</dependency>
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>deeplearning4j-modelimport</artifactId>
<version>${dl4j.version}</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.2</version>
</dependency>
</dependencies>
<build>
<finalName>dl4j-quickstart</finalName>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment