deeplearning4j / deeplearning4j-examples

Deeplearning4j Examples (DL4J, DL4J Spark, DataVec)

Home Page:http://deeplearning4j.konduit.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to run standalone-sample project

nitin2212 opened this issue · comments

Hi I successfully built standalone-sample project on my Linux machine but I am unable to execute it
I am not using any IDE and I am new to Maven.

In the standalone-sample-project, I executed mvn clean install. It built successfully but when I run it from the folder /target/classes using -- java org.deeplearning4j.LenetMnistExample,
it says : Could not find or load main class LenetMnistExample

I am new to Maven. Is my POM.xml file missing something. Please help !

build the project with mvn clean package and use the shaded jar file as your class path.

Thanks ! It worked!