Here's the file:
<?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.example</groupId>
<artifactId>neural</artifactId>
<dependencies>
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>deeplearning4j-core</artifactId>
<version>1.0.0-beta7</version>
</dependency>
<dependency>
<groupId>org.nd4j</groupId>
<artifactId>nd4j-native-platform</artifactId>
<version>1.0.0-beta7</version>
</dependency>
</dependencies>
</project>
I am trying to add deeplearning4j
The errors I'm getting is (I'm working in IntelliJ):
<project" has a red underline saying "For artifact {org.example:neural:null:jar}: The version cannot be empty.
<artifactId>nd4j-native-platform</artifactId> <version>1.0.0-beta7</version>" is red, saying "Dependency 'org.nd4j:nd4j-native-platform:1.0.0-beta7' not found
Thanks for any help.
I would recommend using a maven archetype from intellij and customize that or a template project: https://github.com/eclipse/deeplearning4j-examples/tree/master/mvn-project-template I know link only answers aren't allowed on stackoverflow so I'll summarize a bit:
You can use the dl4j quickstart to tell you more. Effectively, you should try to start from existing project and import as a maven project if possible. If not, create a new maven project with an archetype in intellij and customize that. Normally we use the java quickstart.