Skip to content

Commit 3a7c2ac

Browse files
committed
#BAEL-18260 Try and update the nd4j dependency to fix the build
1 parent 8775cdb commit 3a7c2ac

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

deeplearning4j/pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
</parent>
1515

1616
<dependencies>
17+
<dependency>
18+
<groupId>org.nd4j</groupId>
19+
<artifactId>nd4j-api</artifactId>
20+
<version>${dl4j.version}</version>
21+
</dependency>
1722
<dependency>
1823
<groupId>org.nd4j</groupId>
1924
<artifactId>nd4j-native-platform</artifactId>
@@ -43,7 +48,7 @@
4348
</dependencies>
4449

4550
<properties>
46-
<dl4j.version>0.9.1</dl4j.version>
51+
<dl4j.version>1.0.0-beta5</dl4j.version>
4752
</properties>
4853

4954
</project>

deeplearning4j/src/main/java/com/baeldung/logreg/MnistClassifier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,4 @@ public static void main(String[] args) throws Exception {
165165
ModelSerializer.writeModel(model, modelPath, true);
166166
logger.info("The MINIST model has been saved in {}", modelPath.getPath());
167167
}
168-
}
168+
}

0 commit comments

Comments
 (0)