DL4J – Getting Started w/ Eclipse Updated (2017)

Hey guys, I haven’t been working on anything new for tutorials but get an occasional comment or tweet asking for resolutions on fixing problems while following my original Getting Started w/ DL4J guide.

DL4J and ND4J have progressed greatly since I first stumbled upon it and I just wanted to offer up a clear an concise way to get started. Before we continue, you can reference the other guide for some details with respect to installing Maven. That said, we’ll assume you have Git and Maven installed.

You’ll want to open up the command prompt in a desired directory and clone the DL4J Examples repo (alternatively you can just grab the POM if you don’t want the entire skeleton that comes along with the Examples).

git clone https://github.com/deeplearning4j/dl4j-examples.git

Next we’ll want to move into the newly created directory dl4j-examples (if you just copied the .pom file into an existing maven project, make sure to move to the correct directory within the command prompt) and tell maven to build the project.

cd dl4j-examples

mvn clean install

And then you’re done! If you’re using eclipse you’ll need to run the following method before you can import it into eclipse via the M2E plugin.

mvn eclipse:eclipse


4 thoughts on “DL4J – Getting Started w/ Eclipse Updated (2017)

  1. getting the following error after importing the project in eclipse:
    Description Resource Path Location Type
    Cannot parse lifecycle mapping metadata for maven project MavenProject: org.deeplearning4j:deeplearning4j-examples-parent:0.9.1 @ /Users/ojasgosar/arvato/CAP/rekog/examples/dl4j-examples/pom.xml Cause: Unrecognised tag: ‘goal’ (position: START_TAG seen …\n … @9:15) pom.xml /dl4j-examples line 1 Maven Project Build Lifecycle Mapping Problem


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s