Coder Social home page Coder Social logo

Comments (14)

braun-steven avatar braun-steven commented on May 24, 2024

Did you append the -i flag to build.sh? What was the output of the script execution? Seems like the installation failed due to some reason. (Btw, the latest version is 1.2.2, and documentation, for now, can be found here. We still have to figure out some issues with the other link you named.

from wekadeeplearning4j.

pedro-nadolny avatar pedro-nadolny commented on May 24, 2024

I did it with -i flag and confirm that wekaDeepLearning4j is installed in my maven local repository. Also this is a run time error, I am able to run "mvn package" with wekaDL4J as dependecy.

I've runned 1.2.2 now, with the following flags and output, it looks like its failing to install the package on weka package manager.
$ wekaDeeplearning4j-1.2.2/build.sh -v -i -b GPU -c

image

from wekadeeplearning4j.

braun-steven avatar braun-steven commented on May 24, 2024

I did with -i flag and confirm that wekaDeepLearning4j is installed in my maven local repository.

The -i flag installs the package zip file into the local Weka package repository which you can find under $WEKA_HOME/packages.

It may have been broken, just pushed an update. Please run

$ ./build.sh -v -c -i -b GPU &> build.log

and paste the content of build.log here

from wekadeeplearning4j.

pedro-nadolny avatar pedro-nadolny commented on May 24, 2024

Looks like something broke on 1.2.3, running ./build.sh -v -c -i -b GPU &> build.log gives me the following log. Also attached the log from 1.2.2 there.

1.2.3 Log

usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
        [-e pattern] [-f file] [--binary-files=value] [--color=when]
        [--context[=num]] [--directories=action] [--label] [--line-buffered]
        [--null] [pattern] [file ...]
\e[1m[\e[32mwekaDeeplearning4j build.sh\e[0m\e[1m]\e[0m: Error finding version. Unknown version: 
\e[1m[\e[32mwekaDeeplearning4j build.sh\e[0m\e[1m]\e[0m: Exiting now.

1.2.2 Log

usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
	[-e pattern] [-f file] [--binary-files=value] [--color=when]
	[--context[=num]] [--directories=action] [--label] [--line-buffered]
	[--null] [pattern] [file ...]
\e[1m[\e[32mwekaDeeplearning4j build.sh\e[0m\e[1m]\e[0m: Parameters:
\e[1m[\e[32mwekaDeeplearning4j build.sh\e[0m\e[1m]\e[0m: verbose = true
\e[1m[\e[32mwekaDeeplearning4j build.sh\e[0m\e[1m]\e[0m: install_pack = true
\e[1m[\e[32mwekaDeeplearning4j build.sh\e[0m\e[1m]\e[0m: clean = true
\e[1m[\e[32mwekaDeeplearning4j build.sh\e[0m\e[1m]\e[0m: package = GPU

\e[1m[\e[32mwekaDeeplearning4j build.sh\e[0m\e[1m]\e[0m: Classpath =  /usr/local/Caskroom/weka/3.9.1/weka-3-9-1/weka.jar
\e[1m[\e[32mwekaDeeplearning4j build.sh\e[0m\e[1m]\e[0m: Pulling dependencies via maven...
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building wekaDeeplearning4j-dev 1.2.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ wekaDeeplearning4j ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ wekaDeeplearning4j ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 92 source files to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/target/classes
[INFO] /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/src/main/java/weka/dl4j/layers/OutputLayer.java: Some input files use or override a deprecated API.
[INFO] /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/src/main/java/weka/dl4j/layers/OutputLayer.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ wekaDeeplearning4j ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 426 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @ wekaDeeplearning4j ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/target/test-classes
[INFO] /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/src/test/java/weka/dl4j/NeuralNetConfigurationTest.java: /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/src/test/java/weka/dl4j/NeuralNetConfigurationTest.java uses or overrides a deprecated API.
[INFO] /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/src/test/java/weka/dl4j/NeuralNetConfigurationTest.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ wekaDeeplearning4j ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ wekaDeeplearning4j ---
[INFO] Building jar: /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/target/wekaDeeplearning4j-1.2.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ wekaDeeplearning4j ---
[INFO] Installing /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/target/wekaDeeplearning4j-1.2.1-SNAPSHOT.jar to /Users/Pedro/.m2/repository/nz/ac/waikato/cms/weka/wekaDeeplearning4j/1.2.1-SNAPSHOT/wekaDeeplearning4j-1.2.1-SNAPSHOT.jar
[INFO] Installing /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/pom.xml to /Users/Pedro/.m2/repository/nz/ac/waikato/cms/weka/wekaDeeplearning4j/1.2.1-SNAPSHOT/wekaDeeplearning4j-1.2.1-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:copy-dependencies (default) @ wekaDeeplearning4j ---
[INFO] Copying nearestneighbor-core-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/nearestneighbor-core-0.9.1.jar
[INFO] Copying commons-lang3-3.4.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/commons-lang3-3.4.jar
[INFO] Copying nd4j-cuda-8.0-0.9.1-linux-ppc64le.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/nd4j-cuda-8.0-0.9.1-linux-ppc64le.jar
[INFO] Copying opencv-3.2.0-1.3-android-x86.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/opencv-3.2.0-1.3-android-x86.jar
[INFO] Copying core-1.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/core-1.1.jar
[INFO] Copying weka-stable-3.8.1-tests.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/weka-stable-3.8.1-tests.jar
[INFO] Copying hdf5-platform-1.10.0-patch1-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/hdf5-platform-1.10.0-patch1-1.3.jar
[INFO] Copying hdf5-1.10.0-patch1-1.3-windows-x86.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/hdf5-1.10.0-patch1-1.3-windows-x86.jar
[INFO] Copying libfreenect-0.5.3-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/libfreenect-0.5.3-1.3.jar
[INFO] Copying opencv-3.2.0-1.3-android-arm.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/opencv-3.2.0-1.3-android-arm.jar
[INFO] Copying leptonica-1.73-1.3-linux-ppc64le.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/leptonica-1.73-1.3-linux-ppc64le.jar
[INFO] Copying xz-1.5.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/xz-1.5.jar
[INFO] Copying xom-1.2.5.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/xom-1.2.5.jar
[INFO] Copying cuda-8.0-6.0-1.3-linux-x86_64.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/cuda-8.0-6.0-1.3-linux-x86_64.jar
[INFO] Copying jackson-databind-2.0.0.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/jackson-databind-2.0.0.jar
[INFO] Copying java-cup-11b-2015.03.26.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/java-cup-11b-2015.03.26.jar
[INFO] Copying nd4j-jackson-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/nd4j-jackson-0.9.1.jar
[INFO] Copying commons-io-2.4.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/commons-io-2.4.jar
[INFO] Copying freemarker-2.3.23.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/freemarker-2.3.23.jar
[INFO] Copying lombok-1.16.16.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/lombok-1.16.16.jar
[INFO] Copying arpack_combined_all-0.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/arpack_combined_all-0.1.jar
[INFO] Copying hdf5-1.10.0-patch1-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/hdf5-1.10.0-patch1-1.3.jar
[INFO] Copying hdf5-1.10.0-patch1-1.3-windows-x86_64.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/hdf5-1.10.0-patch1-1.3-windows-x86_64.jar
[INFO] Copying nd4j-common-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/nd4j-common-0.9.1.jar
[INFO] Copying opencv-3.2.0-1.3-linux-armhf.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/opencv-3.2.0-1.3-linux-armhf.jar
[INFO] Copying leptonica-1.73-1.3-macosx-x86_64.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/leptonica-1.73-1.3-macosx-x86_64.jar
[INFO] Copying nd4j-context-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/nd4j-context-0.9.1.jar
[INFO] Copying leptonica-1.73-1.3-linux-x86_64.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/leptonica-1.73-1.3-linux-x86_64.jar
[INFO] Copying native_ref-java-1.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/native_ref-java-1.1.jar
[INFO] Copying netlib-native_ref-win-i686-1.1-natives.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/netlib-native_ref-win-i686-1.1-natives.jar
[INFO] Copying leptonica-1.73-1.3-linux-x86.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/leptonica-1.73-1.3-linux-x86.jar
[INFO] Copying deeplearning4j-nlp-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/deeplearning4j-nlp-0.9.1.jar
[INFO] Copying netlib-native_system-linux-i686-1.1-natives.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/netlib-native_system-linux-i686-1.1-natives.jar
[INFO] Copying opencv-platform-3.2.0-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/opencv-platform-3.2.0-1.3.jar
[INFO] Copying nd4j-cuda-8.0-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/nd4j-cuda-8.0-0.9.1.jar
[INFO] Copying commons-net-3.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/commons-net-3.1.jar
[INFO] Copying jsr305-1.3.9.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/jsr305-1.3.9.jar
[INFO] Copying netlib-native_ref-linux-i686-1.1-natives.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/netlib-native_ref-linux-i686-1.1-natives.jar
[INFO] Copying neoitertools-1.0.0.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/neoitertools-1.0.0.jar
[INFO] Copying javacpp-1.3.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/javacpp-1.3.3.jar
[INFO] Copying deeplearning4j-core-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/deeplearning4j-core-0.9.1.jar
[INFO] Copying opencv-3.2.0-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/opencv-3.2.0-1.3.jar
[INFO] Copying fastutil-6.5.7.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/fastutil-6.5.7.jar
[INFO] Copying opencsv-2.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/opencsv-2.3.jar
[INFO] Copying imageio-bmp-3.1.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/imageio-bmp-3.1.1.jar
[INFO] Copying java-cup-11b-runtime-2015.03.26.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/java-cup-11b-runtime-2015.03.26.jar
[INFO] Copying imageio-core-3.1.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/imageio-core-3.1.1.jar
[INFO] Copying commons-lang-2.6.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/commons-lang-2.6.jar
[INFO] Copying reflections-0.9.10.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/reflections-0.9.10.jar
[INFO] Copying librealsense-1.9.6-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/librealsense-1.9.6-1.3.jar
[INFO] Copying opencv-3.2.0-1.3-windows-x86.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/opencv-3.2.0-1.3-windows-x86.jar
[INFO] Copying nd4j-base64-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/nd4j-base64-0.9.1.jar
[INFO] Copying xml-apis-1.3.03.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/xml-apis-1.3.03.jar
[INFO] Copying snakeyaml-1.12.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/snakeyaml-1.12.jar
[INFO] Copying netlib-native_system-linux-x86_64-1.1-natives.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/netlib-native_system-linux-x86_64-1.1-natives.jar
[INFO] Copying cuda-8.0-6.0-1.3-windows-x86_64.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/cuda-8.0-6.0-1.3-windows-x86_64.jar
[INFO] Copying deeplearning4j-zoo-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/deeplearning4j-zoo-0.9.1.jar
[INFO] Copying leptonica-1.73-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/leptonica-1.73-1.3.jar
[INFO] Copying videoinput-0.200-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/videoinput-0.200-1.3.jar
[INFO] Copying berkeleyparser-r32.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/berkeleyparser-r32.jar
[INFO] Copying error_prone_annotations-2.0.18.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/error_prone_annotations-2.0.18.jar
[INFO] Copying commons-codec-1.10.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/commons-codec-1.10.jar
[INFO] Copying flycapture-2.9.3.43-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/flycapture-2.9.3.43-1.3.jar
[INFO] Copying leptonica-1.73-1.3-android-x86.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/leptonica-1.73-1.3-android-x86.jar
[INFO] Copying twitter-text-1.6.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/twitter-text-1.6.1.jar
[INFO] Copying joda-time-2.2.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/joda-time-2.2.jar
[INFO] Copying netlib-native_ref-linux-armhf-1.1-natives.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/netlib-native_ref-linux-armhf-1.1-natives.jar
[INFO] Copying flandmark-1.07-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/flandmark-1.07-1.3.jar
[INFO] Copying commons-math3-3.4.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/commons-math3-3.4.1.jar
[INFO] Copying mtj-1.0.4.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/mtj-1.0.4.jar
[INFO] Copying slf4j-jdk14-1.7.25.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/slf4j-jdk14-1.7.25.jar
[INFO] Copying hdf5-1.10.0-patch1-1.3-macosx-x86_64.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/hdf5-1.10.0-patch1-1.3-macosx-x86_64.jar
[INFO] Copying bounce-0.18.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/bounce-0.18.jar
[INFO] Copying leptonica-platform-1.73-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/leptonica-platform-1.73-1.3.jar
[INFO] Copying all-1.1.2.pom to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/all-1.1.2.pom
[INFO] Copying trove4j-3.0.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/trove4j-3.0.3.jar
[INFO] Copying hdf5-1.10.0-patch1-1.3-linux-x86_64.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/hdf5-1.10.0-patch1-1.3-linux-x86_64.jar
[INFO] Copying ffmpeg-3.2.1-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/ffmpeg-3.2.1-1.3.jar
[INFO] Copying javassist-3.19.0-GA.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/javassist-3.19.0-GA.jar
[INFO] Copying guava-23.1-jre.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/guava-23.1-jre.jar
[INFO] Copying annotations-2.0.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/annotations-2.0.1.jar
[INFO] Copying common-image-3.1.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/common-image-3.1.1.jar
[INFO] Copying xalan-2.7.0.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/xalan-2.7.0.jar
[INFO] Copying netlib-native_system-linux-armhf-1.1-natives.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/netlib-native_system-linux-armhf-1.1-natives.jar
[INFO] Copying nd4j-buffer-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/nd4j-buffer-0.9.1.jar
[INFO] Copying hdf5-1.10.0-patch1-1.3-linux-x86.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/hdf5-1.10.0-patch1-1.3-linux-x86.jar
[INFO] Copying animal-sniffer-annotations-1.14.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/animal-sniffer-annotations-1.14.jar
[INFO] Copying hamcrest-all-1.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/hamcrest-all-1.1.jar
[INFO] Copying nd4j-cuda-8.0-platform-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/nd4j-cuda-8.0-platform-0.9.1.jar
[INFO] Copying opencv-3.2.0-1.3-linux-ppc64le.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/opencv-3.2.0-1.3-linux-ppc64le.jar
[INFO] Copying hdf5-1.10.0-patch1-1.3-linux-ppc64le.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/hdf5-1.10.0-patch1-1.3-linux-ppc64le.jar
[INFO] Copying imageio-metadata-3.1.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/imageio-metadata-3.1.1.jar
[INFO] Copying leptonica-1.73-1.3-android-arm.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/leptonica-1.73-1.3-android-arm.jar
[INFO] Copying imageio-jpeg-3.1.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/imageio-jpeg-3.1.1.jar
[INFO] Copying netlib-native_ref-linux-x86_64-1.1-natives.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/netlib-native_ref-linux-x86_64-1.1-natives.jar
[INFO] Copying leptonica-1.73-1.3-windows-x86.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/leptonica-1.73-1.3-windows-x86.jar
[INFO] Copying imageio-psd-3.1.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/imageio-psd-3.1.1.jar
[INFO] Copying nd4j-api-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/nd4j-api-0.9.1.jar
[INFO] Copying findbugs-annotations-1.3.9-1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/findbugs-annotations-1.3.9-1.jar
[INFO] Copying jackson-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/jackson-0.9.1.jar
[INFO] Copying deeplearning4j-ui-components-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/deeplearning4j-ui-components-0.9.1.jar
[INFO] Copying netlib-java-1.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/netlib-java-1.1.jar
[INFO] Copying hamcrest-core-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/hamcrest-core-1.3.jar
[INFO] Copying common-lang-3.1.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/common-lang-3.1.1.jar
[INFO] Copying cuda-8.0-6.0-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/cuda-8.0-6.0-1.3.jar
[INFO] Copying opencv-3.2.0-1.3-windows-x86_64.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/opencv-3.2.0-1.3-windows-x86_64.jar
[INFO] Copying native_system-java-1.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/native_system-java-1.1.jar
[INFO] Copying netlib-native_system-win-x86_64-1.1-natives.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/netlib-native_system-win-x86_64-1.1-natives.jar
[INFO] Copying stream-2.7.0.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/stream-2.7.0.jar
[INFO] Copying jackson-annotations-2.0.0.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/jackson-annotations-2.0.0.jar
[INFO] Copying commons-math-2.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/commons-math-2.1.jar
[INFO] Copying netlib-native_system-win-i686-1.1-natives.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/netlib-native_system-win-i686-1.1-natives.jar
[INFO] Copying common-io-3.1.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/common-io-3.1.1.jar
[INFO] Copying javacv-1.3.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/javacv-1.3.3.jar
[INFO] Copying libfreenect2-0.2.0-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/libfreenect2-0.2.0-1.3.jar
[INFO] Copying jackson-core-2.0.0.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/jackson-core-2.0.0.jar
[INFO] Copying xercesImpl-2.8.0.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/xercesImpl-2.8.0.jar
[INFO] Copying cuda-platform-8.0-6.0-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/cuda-platform-8.0-6.0-1.3.jar
[INFO] Copying stanford-corenlp-1.2.0.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/stanford-corenlp-1.2.0.jar
[INFO] Copying j2objc-annotations-1.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/j2objc-annotations-1.1.jar
[INFO] Copying deeplearning4j-modelimport-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/deeplearning4j-modelimport-0.9.1.jar
[INFO] Copying netlib-native_ref-win-x86_64-1.1-natives.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/netlib-native_ref-win-x86_64-1.1-natives.jar
[INFO] Copying netlib-native_ref-osx-x86_64-1.1-natives.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/netlib-native_ref-osx-x86_64-1.1-natives.jar
[INFO] Copying cuda-8.0-6.0-1.3-macosx-x86_64.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/cuda-8.0-6.0-1.3-macosx-x86_64.jar
[INFO] Copying jniloader-1.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/jniloader-1.1.jar
[INFO] Copying nd4j-cuda-8.0-0.9.1-linux-x86_64.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/nd4j-cuda-8.0-0.9.1-linux-x86_64.jar
[INFO] Copying nd4j-cuda-8.0-0.9.1-windows-x86_64.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/nd4j-cuda-8.0-0.9.1-windows-x86_64.jar
[INFO] Copying nd4j-cuda-8.0-0.9.1-macosx-x86_64.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/nd4j-cuda-8.0-0.9.1-macosx-x86_64.jar
[INFO] Copying datavec-api-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/datavec-api-0.9.1.jar
[INFO] Copying datavec-data-image-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/datavec-data-image-0.9.1.jar
[INFO] Copying libdc1394-2.2.4-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/libdc1394-2.2.4-1.3.jar
[INFO] Copying cuda-8.0-6.0-1.3-linux-ppc64le.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/cuda-8.0-6.0-1.3-linux-ppc64le.jar
[INFO] Copying artoolkitplus-2.3.1-1.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/artoolkitplus-2.3.1-1.3.jar
[INFO] Copying opencv-3.2.0-1.3-linux-x86.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/opencv-3.2.0-1.3-linux-x86.jar
[INFO] Copying stax2-api-3.1.4.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/stax2-api-3.1.4.jar
[INFO] Copying weka-stable-3.8.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/weka-stable-3.8.1.jar
[INFO] Copying imageio-tiff-3.1.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/imageio-tiff-3.1.1.jar
[INFO] Copying commons-compress-1.8.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/commons-compress-1.8.jar
[INFO] Copying junit-4.12.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/junit-4.12.jar
[INFO] Copying ark-tweet-nlp-0.3.2.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/ark-tweet-nlp-0.3.2.jar
[INFO] Copying opencv-3.2.0-1.3-macosx-x86_64.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/opencv-3.2.0-1.3-macosx-x86_64.jar
[INFO] Copying slf4j-api-1.7.25.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/slf4j-api-1.7.25.jar
[INFO] Copying opencv-3.2.0-1.3-linux-x86_64.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/opencv-3.2.0-1.3-linux-x86_64.jar
[INFO] Copying lucene-core-3.0.3.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/lucene-core-3.0.3.jar
[INFO] Copying deeplearning4j-nn-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/deeplearning4j-nn-0.9.1.jar
[INFO] Copying leptonica-1.73-1.3-linux-armhf.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/leptonica-1.73-1.3-linux-armhf.jar
[INFO] Copying leptonica-1.73-1.3-windows-x86_64.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/leptonica-1.73-1.3-windows-x86_64.jar
[INFO] Copying nd4j-native-api-0.9.1.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/nd4j-native-api-0.9.1.jar
[INFO] Copying jai-imageio-core-1.3.0.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/jai-imageio-core-1.3.0.jar
[INFO] Copying netlib-native_system-osx-x86_64-1.1-natives.jar to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/lib/netlib-native_system-osx-x86_64-1.1-natives.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.798 s
[INFO] Finished at: 2017-11-03T13:51:34-02:00
[INFO] Final Memory: 38M/415M
[INFO] ------------------------------------------------------------------------
\e[1m[\e[32mwekaDeeplearning4j build.sh\e[0m\e[1m]\e[0m: Starting ant build for \e[1mwekaDeeplearning4jCore-dev\e[0m
Buildfile: /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/build_package.xml

make_package_GPU:

prepare_package:

init_all:

init_compile:
    [mkdir] Created dir: /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/build/classes

compile:
    [javac] /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/build_package.xml:71: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 92 source files to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/build/classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

docs:
    [mkdir] Created dir: /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/doc
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Loading source files for package weka.classifiers.functions...
  [javadoc] Loading source files for package weka.classifiers.functions.dl4j...
  [javadoc] Loading source files for package weka.core.converters...
  [javadoc] Loading source files for package weka.dl4j...
  [javadoc] Loading source files for package weka.dl4j.activations...
  [javadoc] Loading source files for package weka.dl4j.distribution...
  [javadoc] Loading source files for package weka.dl4j.iterators.dataset...
  [javadoc] Loading source files for package weka.dl4j.iterators.instance...
  [javadoc] Loading source files for package weka.dl4j.layers...
  [javadoc] Loading source files for package weka.dl4j.listener...
  [javadoc] Loading source files for package weka.dl4j.lossfunctions...
  [javadoc] Loading source files for package weka.dl4j.stepfunctions...
  [javadoc] Loading source files for package weka.dl4j.text.sentenceiterator...
  [javadoc] Loading source files for package weka.dl4j.text.stopwords...
  [javadoc] Loading source files for package weka.dl4j.text.tokenization.tokenizer.preprocessor...
  [javadoc] Loading source files for package weka.dl4j.text.tokenization.tokenizerfactory...
  [javadoc] Loading source files for package weka.dl4j.updater...
  [javadoc] Loading source files for package weka.dl4j.zoo...
  [javadoc] Loading source files for package weka.filters.unsupervised.attribute...
  [javadoc] Constructing Javadoc information...
  [javadoc] Standard Doclet version 1.8.0_121
  [javadoc] Building tree for all the packages and classes...
  [javadoc] /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/src/main/java/weka/classifiers/functions/dl4j/Utils.java:164: warning: no description for @param
  [javadoc]    * @param inst
  [javadoc]      ^
  [javadoc] /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/src/main/java/weka/dl4j/iterators/instance/ImageInstanceIterator.java:168: warning: no description for @throws
  [javadoc]      * @throws Exception
  [javadoc]        ^
  [javadoc] /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/src/main/java/weka/dl4j/listener/FileIterationListener.java:57: warning: no description for @throws
  [javadoc] 	 * @throws Exception
  [javadoc] 	   ^
  [javadoc] /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/src/main/java/weka/classifiers/functions/Dl4jMlpClassifier.java:234: warning: no description for @throws
  [javadoc]    * @throws ClassNotFoundException
  [javadoc]      ^
  [javadoc] /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/src/main/java/weka/classifiers/functions/Dl4jMlpClassifier.java:235: warning: no description for @throws
  [javadoc]    * @throws IOException
  [javadoc]      ^
  [javadoc] /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/src/main/java/weka/classifiers/functions/Dl4jMlpClassifier.java:210: warning: no description for @throws
  [javadoc]    * @throws IOException
  [javadoc]      ^
  [javadoc] /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/src/main/java/weka/classifiers/functions/Dl4jMlpClassifier.java:134: error: malformed HTML
  [javadoc]   /** Queue size for AsyncDataSetIterator (if < 1, AsyncDataSetIterator is not used) */
  [javadoc]                                               ^
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...
  [javadoc] Generating /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/doc/help-doc.html...
  [javadoc] 1 error
  [javadoc] 6 warnings

init_dist:
    [mkdir] Created dir: /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist

exejar:
      [jar] Building jar: /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev.jar
    [mkdir] Created dir: /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev
  [copydir] DEPRECATED - The copydir task is deprecated.  Use copy instead.
  [copydir] Copying 426 files to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev/datasets
     [copy] Copying 1 file to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev
     [copy] Copying 1 file to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev
     [copy] Copying 1 file to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev
     [copy] Copying 1 file to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev
    [mkdir] Created dir: /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev/lib

copy_libs_Core:
     [copy] Copying 47 files to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev/lib
     [copy] Copying 10 files to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev

copy_libs_GPU:
     [copy] Copying 12 files to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev/lib

finish_package:
    [mkdir] Created dir: /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev/doc
     [copy] Copying 163 files to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev/doc
    [mkdir] Created dir: /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev/src
     [copy] Copying 534 files to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev
  [copydir] DEPRECATED - The copydir task is deprecated.  Use copy instead.
  [copydir] Copying 1196 files to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev-linux-x86_64
  [copydir] DEPRECATED - The copydir task is deprecated.  Use copy instead.
  [copydir] Copying 1196 files to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev-macosx-x86_64
  [copydir] DEPRECATED - The copydir task is deprecated.  Use copy instead.
  [copydir] Copying 1196 files to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev-windows-x86_64
     [exec] sed: 1: "dist/wekaDeeplearning4j ...": extra characters at the end of d command
     [exec] sed: 1: "dist/wekaDeeplearning4j ...": extra characters at the end of d command
     [exec] sed: 1: "dist/wekaDeeplearning4j ...": extra characters at the end of d command
     [exec] Result: 1
     [exec] sed: 1: "dist/wekaDeeplearning4j ...": extra characters at the end of d command
     [exec] sed: 1: "dist/wekaDeeplearning4j ...": extra characters at the end of d command
     [exec] sed: 1: "dist/wekaDeeplearning4j ...": extra characters at the end of d command
     [exec] Result: 1
      [zip] Building zip: /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev-linux-x86_64.zip
      [zip] Building zip: /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev-macosx-x86_64.zip
      [zip] Building zip: /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev-windows-x86_64.zip
     [copy] Copying 1 file to /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist

delete_non_os_files:
     [exec] Cleaning up wekaDeeplearning4jGPU-1.2.2-dev
   [delete] Deleting directory /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev
   [delete] Deleting: /Users/Pedro/Downloads/wekaDeeplearning4j-1.2.2 2/wekaDeeplearning4jCore/dist/wekaDeeplearning4jGPU-1.2.2-dev.jar

BUILD SUCCESSFUL
Total time: 42 seconds
rm: /usr/local/Caskroom/weka/3.9.1/weka-3-9-1/packages/wekaDeeplearning4jCPU-dev: No such file or directory
rm: /usr/local/Caskroom/weka/3.9.1/weka-3-9-1/packages/wekaDeeplearning4jGPU-dev: No such file or directory
\e[1m[\e[32mwekaDeeplearning4j build.sh\e[0m\e[1m]\e[0m: Installing wekaDeeplearning4jGPU--dev package...
java.io.FileNotFoundException: dist/wekaDeeplearning4jGPU--dev-macosx-x86_64.zip (No such file or directory)
	java.util.zip.ZipFile.open(Native Method)
	java.util.zip.ZipFile.<init>(ZipFile.java:219)
	java.util.zip.ZipFile.<init>(ZipFile.java:149)
	java.util.zip.ZipFile.<init>(ZipFile.java:163)
	weka.core.packageManagement.DefaultPackageManager.getPackageArchiveInfo(DefaultPackageManager.java:354)
	weka.core.WekaPackageManager.installPackageFromArchive(WekaPackageManager.java:2136)
	weka.core.WekaPackageManager.main(WekaPackageManager.java:2839)

	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:219)
	at java.util.zip.ZipFile.<init>(ZipFile.java:149)
	at java.util.zip.ZipFile.<init>(ZipFile.java:163)
	at weka.core.packageManagement.DefaultPackageManager.getPackageArchiveInfo(DefaultPackageManager.java:354)
	at weka.core.WekaPackageManager.installPackageFromArchive(WekaPackageManager.java:2136)
	at weka.core.WekaPackageManager.main(WekaPackageManager.java:2839)

from wekadeeplearning4j.

pedro-nadolny avatar pedro-nadolny commented on May 24, 2024

Have installed wekaDeepLearning4j manually by running...

java -cp $WEKA_HOME/weka.jar weka.core.WekaPackageManager \
     -install-package package.zip

But still got the same error (class not found). Problaby because maven gets weka from maven remote repository, not the one from my local weka, so it dosen't get the weka.jar that has the class.

from wekadeeplearning4j.

braun-steven avatar braun-steven commented on May 24, 2024

Okay, it seems like you are running MacOS (as your screenshot indicates), which has a different version of grep as used in linux (GNU vs FreeBSD). The same applies to the sed command used in build_package.xml. I need to figure out what parameters are different in the GNU and FreeBSD versions. For now, you should just download the package from the release page and install it with the WekaPackageManager via command line or GUI.

But still got the same error (class not found). Problaby because maven gets weka from maven remote repository, not the one from my local weka, so it dosen't get the weka.jar that has the class.

Can you show me the output?

from wekadeeplearning4j.

pedro-nadolny avatar pedro-nadolny commented on May 24, 2024

Unfortunatly I'm working in a java project that needs to have integrataion with deep learning. As we already integrated weka default classifiers into it, for deep learning it would be nice to have wekaDL4J.

The error I referred to is the first one, the one I got from the examples. What I meant to say is that having wekaDeepLearning4j installed on my weka packages did not solve the problem.

The thing is, maven installation is going on properly, and it should be usable on a maven project. The problem probably is that the weka-stable package, from maven repository, has no access to the class Dl4jMlpClassifier.

Yes, I've runned that on Mac, I'll try to reproduce what I did on Windows to see the results I get.

from wekadeeplearning4j.

braun-steven avatar braun-steven commented on May 24, 2024

Okay I've tried to reproduce your behavior: Created a simple maven project with this pom and this main class.
To install the wekaDeeplearning4j package in your local maven repository it is necessary that you run mvn clean install -DskipTests=true -P <backend> beforehand, where <backend> is either CPU or GPU.
I'll try to figure out why it is necessary to add the GPU/CPU dependencies by hand but for now this is the solution. I'm going to update the documentation for that, thank you for the hints!

Please report if this is working for you and if not, show me your maven pom and the error logs.

from wekadeeplearning4j.

pedro-nadolny avatar pedro-nadolny commented on May 24, 2024

Looks like the maven installation is fine. Bellow is the log from the installation if you wanna look at it. Tomorrow night I'll reproduce on Windows everything we've tryed so far and see if I get different results. Also gonna try to import everything manually instead of using maven, this way I can reference my local weka.jar with the DL4J package installed, and try to get wekaDL4J working on java project.

Log

[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building wekaDeeplearning4j-dev 1.2.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wekaDeeplearning4j ---
[INFO] Deleting /Users/Pedro/Downloads/e/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ wekaDeeplearning4j ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/Pedro/Downloads/e/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ wekaDeeplearning4j ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 97 source files to /Users/Pedro/Downloads/e/target/classes
[INFO] /Users/Pedro/Downloads/e/src/main/java/weka/dl4j/NeuralNetConfiguration.java: Some input files use or override a deprecated API.
[INFO] /Users/Pedro/Downloads/e/src/main/java/weka/dl4j/NeuralNetConfiguration.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ wekaDeeplearning4j ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 426 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @ wekaDeeplearning4j ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to /Users/Pedro/Downloads/e/target/test-classes
[INFO] /Users/Pedro/Downloads/e/src/test/java/weka/dl4j/NeuralNetConfigurationTest.java: /Users/Pedro/Downloads/e/src/test/java/weka/dl4j/NeuralNetConfigurationTest.java uses or overrides a deprecated API.
[INFO] /Users/Pedro/Downloads/e/src/test/java/weka/dl4j/NeuralNetConfigurationTest.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ wekaDeeplearning4j ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ wekaDeeplearning4j ---
[INFO] Building jar: /Users/Pedro/Downloads/e/target/wekaDeeplearning4j-1.2.3-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ wekaDeeplearning4j ---
[INFO] Installing /Users/Pedro/Downloads/e/target/wekaDeeplearning4j-1.2.3-SNAPSHOT.jar to /Users/Pedro/.m2/repository/nz/ac/waikato/cms/weka/wekaDeeplearning4j/1.2.3-SNAPSHOT/wekaDeeplearning4j-1.2.3-SNAPSHOT.jar
[INFO] Installing /Users/Pedro/Downloads/e/pom.xml to /Users/Pedro/.m2/repository/nz/ac/waikato/cms/weka/wekaDeeplearning4j/1.2.3-SNAPSHOT/wekaDeeplearning4j-1.2.3-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:copy-dependencies (default) @ wekaDeeplearning4j ---
[INFO] Copying opencv-3.2.0-1.3-android-x86.jar to /Users/Pedro/Downloads/e/lib/opencv-3.2.0-1.3-android-x86.jar
[INFO] Copying core-1.1.jar to /Users/Pedro/Downloads/e/lib/core-1.1.jar
[INFO] Copying weka-stable-3.8.1-tests.jar to /Users/Pedro/Downloads/e/lib/weka-stable-3.8.1-tests.jar
[INFO] Copying hdf5-platform-1.10.0-patch1-1.3.jar to /Users/Pedro/Downloads/e/lib/hdf5-platform-1.10.0-patch1-1.3.jar
[INFO] Copying hdf5-1.10.0-patch1-1.3-windows-x86.jar to /Users/Pedro/Downloads/e/lib/hdf5-1.10.0-patch1-1.3-windows-x86.jar
[INFO] Copying libfreenect-0.5.3-1.3.jar to /Users/Pedro/Downloads/e/lib/libfreenect-0.5.3-1.3.jar
[INFO] Copying opencv-3.2.0-1.3-android-arm.jar to /Users/Pedro/Downloads/e/lib/opencv-3.2.0-1.3-android-arm.jar
[INFO] Copying leptonica-1.73-1.3-linux-ppc64le.jar to /Users/Pedro/Downloads/e/lib/leptonica-1.73-1.3-linux-ppc64le.jar
[INFO] Copying xz-1.5.jar to /Users/Pedro/Downloads/e/lib/xz-1.5.jar
[INFO] Copying xom-1.2.5.jar to /Users/Pedro/Downloads/e/lib/xom-1.2.5.jar
[INFO] Copying cuda-8.0-6.0-1.3-linux-x86_64.jar to /Users/Pedro/Downloads/e/lib/cuda-8.0-6.0-1.3-linux-x86_64.jar
[INFO] Copying java-cup-11b-2015.03.26.jar to /Users/Pedro/Downloads/e/lib/java-cup-11b-2015.03.26.jar
[INFO] Copying nd4j-jackson-0.9.1.jar to /Users/Pedro/Downloads/e/lib/nd4j-jackson-0.9.1.jar
[INFO] Copying freemarker-2.3.23.jar to /Users/Pedro/Downloads/e/lib/freemarker-2.3.23.jar
[INFO] Copying arpack_combined_all-0.1.jar to /Users/Pedro/Downloads/e/lib/arpack_combined_all-0.1.jar
[INFO] Copying hdf5-1.10.0-patch1-1.3.jar to /Users/Pedro/Downloads/e/lib/hdf5-1.10.0-patch1-1.3.jar
[INFO] Copying hdf5-1.10.0-patch1-1.3-windows-x86_64.jar to /Users/Pedro/Downloads/e/lib/hdf5-1.10.0-patch1-1.3-windows-x86_64.jar
[INFO] Copying nd4j-common-0.9.1.jar to /Users/Pedro/Downloads/e/lib/nd4j-common-0.9.1.jar
[INFO] Copying opencv-3.2.0-1.3-linux-armhf.jar to /Users/Pedro/Downloads/e/lib/opencv-3.2.0-1.3-linux-armhf.jar
[INFO] Copying leptonica-1.73-1.3-macosx-x86_64.jar to /Users/Pedro/Downloads/e/lib/leptonica-1.73-1.3-macosx-x86_64.jar
[INFO] Copying nd4j-context-0.9.1.jar to /Users/Pedro/Downloads/e/lib/nd4j-context-0.9.1.jar
[INFO] Copying leptonica-1.73-1.3-linux-x86_64.jar to /Users/Pedro/Downloads/e/lib/leptonica-1.73-1.3-linux-x86_64.jar
[INFO] Copying native_ref-java-1.1.jar to /Users/Pedro/Downloads/e/lib/native_ref-java-1.1.jar
[INFO] Copying netlib-native_ref-win-i686-1.1-natives.jar to /Users/Pedro/Downloads/e/lib/netlib-native_ref-win-i686-1.1-natives.jar
[INFO] Copying leptonica-1.73-1.3-linux-x86.jar to /Users/Pedro/Downloads/e/lib/leptonica-1.73-1.3-linux-x86.jar
[INFO] Copying deeplearning4j-nlp-0.9.1.jar to /Users/Pedro/Downloads/e/lib/deeplearning4j-nlp-0.9.1.jar
[INFO] Copying netlib-native_system-linux-i686-1.1-natives.jar to /Users/Pedro/Downloads/e/lib/netlib-native_system-linux-i686-1.1-natives.jar
[INFO] Copying jsr305-1.3.9.jar to /Users/Pedro/Downloads/e/lib/jsr305-1.3.9.jar
[INFO] Copying netlib-native_ref-linux-i686-1.1-natives.jar to /Users/Pedro/Downloads/e/lib/netlib-native_ref-linux-i686-1.1-natives.jar
[INFO] Copying neoitertools-1.0.0.jar to /Users/Pedro/Downloads/e/lib/neoitertools-1.0.0.jar
[INFO] Copying fastutil-6.5.7.jar to /Users/Pedro/Downloads/e/lib/fastutil-6.5.7.jar
[INFO] Copying opencsv-2.3.jar to /Users/Pedro/Downloads/e/lib/opencsv-2.3.jar
[INFO] Copying java-cup-11b-runtime-2015.03.26.jar to /Users/Pedro/Downloads/e/lib/java-cup-11b-runtime-2015.03.26.jar
[INFO] Copying librealsense-1.9.6-1.3.jar to /Users/Pedro/Downloads/e/lib/librealsense-1.9.6-1.3.jar
[INFO] Copying opencv-3.2.0-1.3-windows-x86.jar to /Users/Pedro/Downloads/e/lib/opencv-3.2.0-1.3-windows-x86.jar
[INFO] Copying nd4j-base64-0.9.1.jar to /Users/Pedro/Downloads/e/lib/nd4j-base64-0.9.1.jar
[INFO] Copying xml-apis-1.3.03.jar to /Users/Pedro/Downloads/e/lib/xml-apis-1.3.03.jar
[INFO] Copying snakeyaml-1.12.jar to /Users/Pedro/Downloads/e/lib/snakeyaml-1.12.jar
[INFO] Copying netlib-native_system-linux-x86_64-1.1-natives.jar to /Users/Pedro/Downloads/e/lib/netlib-native_system-linux-x86_64-1.1-natives.jar
[INFO] Copying cuda-8.0-6.0-1.3-windows-x86_64.jar to /Users/Pedro/Downloads/e/lib/cuda-8.0-6.0-1.3-windows-x86_64.jar
[INFO] Copying leptonica-1.73-1.3.jar to /Users/Pedro/Downloads/e/lib/leptonica-1.73-1.3.jar
[INFO] Copying videoinput-0.200-1.3.jar to /Users/Pedro/Downloads/e/lib/videoinput-0.200-1.3.jar
[INFO] Copying berkeleyparser-r32.jar to /Users/Pedro/Downloads/e/lib/berkeleyparser-r32.jar
[INFO] Copying error_prone_annotations-2.0.18.jar to /Users/Pedro/Downloads/e/lib/error_prone_annotations-2.0.18.jar
[INFO] Copying flycapture-2.9.3.43-1.3.jar to /Users/Pedro/Downloads/e/lib/flycapture-2.9.3.43-1.3.jar
[INFO] Copying leptonica-1.73-1.3-android-x86.jar to /Users/Pedro/Downloads/e/lib/leptonica-1.73-1.3-android-x86.jar
[INFO] Copying twitter-text-1.6.1.jar to /Users/Pedro/Downloads/e/lib/twitter-text-1.6.1.jar
[INFO] Copying joda-time-2.2.jar to /Users/Pedro/Downloads/e/lib/joda-time-2.2.jar
[INFO] Copying netlib-native_ref-linux-armhf-1.1-natives.jar to /Users/Pedro/Downloads/e/lib/netlib-native_ref-linux-armhf-1.1-natives.jar
[INFO] Copying flandmark-1.07-1.3.jar to /Users/Pedro/Downloads/e/lib/flandmark-1.07-1.3.jar
[INFO] Copying mtj-1.0.4.jar to /Users/Pedro/Downloads/e/lib/mtj-1.0.4.jar
[INFO] Copying hdf5-1.10.0-patch1-1.3-macosx-x86_64.jar to /Users/Pedro/Downloads/e/lib/hdf5-1.10.0-patch1-1.3-macosx-x86_64.jar
[INFO] Copying bounce-0.18.jar to /Users/Pedro/Downloads/e/lib/bounce-0.18.jar
[INFO] Copying leptonica-platform-1.73-1.3.jar to /Users/Pedro/Downloads/e/lib/leptonica-platform-1.73-1.3.jar
[INFO] Copying all-1.1.2.pom to /Users/Pedro/Downloads/e/lib/all-1.1.2.pom
[INFO] Copying trove4j-3.0.3.jar to /Users/Pedro/Downloads/e/lib/trove4j-3.0.3.jar
[INFO] Copying hdf5-1.10.0-patch1-1.3-linux-x86_64.jar to /Users/Pedro/Downloads/e/lib/hdf5-1.10.0-patch1-1.3-linux-x86_64.jar
[INFO] Copying ffmpeg-3.2.1-1.3.jar to /Users/Pedro/Downloads/e/lib/ffmpeg-3.2.1-1.3.jar
[INFO] Copying annotations-2.0.1.jar to /Users/Pedro/Downloads/e/lib/annotations-2.0.1.jar
[INFO] Copying xalan-2.7.0.jar to /Users/Pedro/Downloads/e/lib/xalan-2.7.0.jar
[INFO] Copying netlib-native_system-linux-armhf-1.1-natives.jar to /Users/Pedro/Downloads/e/lib/netlib-native_system-linux-armhf-1.1-natives.jar
[INFO] Copying nd4j-buffer-0.9.1.jar to /Users/Pedro/Downloads/e/lib/nd4j-buffer-0.9.1.jar
[INFO] Copying hdf5-1.10.0-patch1-1.3-linux-x86.jar to /Users/Pedro/Downloads/e/lib/hdf5-1.10.0-patch1-1.3-linux-x86.jar
[INFO] Copying animal-sniffer-annotations-1.14.jar to /Users/Pedro/Downloads/e/lib/animal-sniffer-annotations-1.14.jar
[INFO] Copying hamcrest-all-1.1.jar to /Users/Pedro/Downloads/e/lib/hamcrest-all-1.1.jar
[INFO] Copying opencv-3.2.0-1.3-linux-ppc64le.jar to /Users/Pedro/Downloads/e/lib/opencv-3.2.0-1.3-linux-ppc64le.jar
[INFO] Copying hdf5-1.10.0-patch1-1.3-linux-ppc64le.jar to /Users/Pedro/Downloads/e/lib/hdf5-1.10.0-patch1-1.3-linux-ppc64le.jar
[INFO] Copying leptonica-1.73-1.3-android-arm.jar to /Users/Pedro/Downloads/e/lib/leptonica-1.73-1.3-android-arm.jar
[INFO] Copying netlib-native_ref-linux-x86_64-1.1-natives.jar to /Users/Pedro/Downloads/e/lib/netlib-native_ref-linux-x86_64-1.1-natives.jar
[INFO] Copying leptonica-1.73-1.3-windows-x86.jar to /Users/Pedro/Downloads/e/lib/leptonica-1.73-1.3-windows-x86.jar
[INFO] Copying nd4j-api-0.9.1.jar to /Users/Pedro/Downloads/e/lib/nd4j-api-0.9.1.jar
[INFO] Copying findbugs-annotations-1.3.9-1.jar to /Users/Pedro/Downloads/e/lib/findbugs-annotations-1.3.9-1.jar
[INFO] Copying netlib-java-1.1.jar to /Users/Pedro/Downloads/e/lib/netlib-java-1.1.jar
[INFO] Copying hamcrest-core-1.3.jar to /Users/Pedro/Downloads/e/lib/hamcrest-core-1.3.jar
[INFO] Copying opencv-3.2.0-1.3-windows-x86_64.jar to /Users/Pedro/Downloads/e/lib/opencv-3.2.0-1.3-windows-x86_64.jar
[INFO] Copying native_system-java-1.1.jar to /Users/Pedro/Downloads/e/lib/native_system-java-1.1.jar
[INFO] Copying netlib-native_system-win-x86_64-1.1-natives.jar to /Users/Pedro/Downloads/e/lib/netlib-native_system-win-x86_64-1.1-natives.jar
[INFO] Copying stream-2.7.0.jar to /Users/Pedro/Downloads/e/lib/stream-2.7.0.jar
[INFO] Copying netlib-native_system-win-i686-1.1-natives.jar to /Users/Pedro/Downloads/e/lib/netlib-native_system-win-i686-1.1-natives.jar
[INFO] Copying libfreenect2-0.2.0-1.3.jar to /Users/Pedro/Downloads/e/lib/libfreenect2-0.2.0-1.3.jar
[INFO] Copying xercesImpl-2.8.0.jar to /Users/Pedro/Downloads/e/lib/xercesImpl-2.8.0.jar
[INFO] Copying stanford-corenlp-1.2.0.jar to /Users/Pedro/Downloads/e/lib/stanford-corenlp-1.2.0.jar
[INFO] Copying j2objc-annotations-1.1.jar to /Users/Pedro/Downloads/e/lib/j2objc-annotations-1.1.jar
[INFO] Copying netlib-native_ref-win-x86_64-1.1-natives.jar to /Users/Pedro/Downloads/e/lib/netlib-native_ref-win-x86_64-1.1-natives.jar
[INFO] Copying netlib-native_ref-osx-x86_64-1.1-natives.jar to /Users/Pedro/Downloads/e/lib/netlib-native_ref-osx-x86_64-1.1-natives.jar
[INFO] Copying jniloader-1.1.jar to /Users/Pedro/Downloads/e/lib/jniloader-1.1.jar
[INFO] Copying nd4j-cuda-8.0-0.9.1-linux-x86_64.jar to /Users/Pedro/Downloads/e/lib/nd4j-cuda-8.0-0.9.1-linux-x86_64.jar
[INFO] Copying nd4j-cuda-8.0-0.9.1-windows-x86_64.jar to /Users/Pedro/Downloads/e/lib/nd4j-cuda-8.0-0.9.1-windows-x86_64.jar
[INFO] Copying libdc1394-2.2.4-1.3.jar to /Users/Pedro/Downloads/e/lib/libdc1394-2.2.4-1.3.jar
[INFO] Copying cuda-8.0-6.0-1.3-linux-ppc64le.jar to /Users/Pedro/Downloads/e/lib/cuda-8.0-6.0-1.3-linux-ppc64le.jar
[INFO] Copying artoolkitplus-2.3.1-1.3.jar to /Users/Pedro/Downloads/e/lib/artoolkitplus-2.3.1-1.3.jar
[INFO] Copying opencv-3.2.0-1.3-linux-x86.jar to /Users/Pedro/Downloads/e/lib/opencv-3.2.0-1.3-linux-x86.jar
[INFO] Copying stax2-api-3.1.4.jar to /Users/Pedro/Downloads/e/lib/stax2-api-3.1.4.jar
[INFO] Copying weka-stable-3.8.1.jar to /Users/Pedro/Downloads/e/lib/weka-stable-3.8.1.jar
[INFO] Copying junit-4.12.jar to /Users/Pedro/Downloads/e/lib/junit-4.12.jar
[INFO] Copying slf4j-api-1.7.25.jar to /Users/Pedro/Downloads/e/lib/slf4j-api-1.7.25.jar
[INFO] Copying opencv-3.2.0-1.3-linux-x86_64.jar to /Users/Pedro/Downloads/e/lib/opencv-3.2.0-1.3-linux-x86_64.jar
[INFO] Copying lucene-core-3.0.3.jar to /Users/Pedro/Downloads/e/lib/lucene-core-3.0.3.jar
[INFO] Copying deeplearning4j-nn-0.9.1.jar to /Users/Pedro/Downloads/e/lib/deeplearning4j-nn-0.9.1.jar
[INFO] Copying leptonica-1.73-1.3-linux-armhf.jar to /Users/Pedro/Downloads/e/lib/leptonica-1.73-1.3-linux-armhf.jar
[INFO] Copying leptonica-1.73-1.3-windows-x86_64.jar to /Users/Pedro/Downloads/e/lib/leptonica-1.73-1.3-windows-x86_64.jar
[INFO] Copying nd4j-native-api-0.9.1.jar to /Users/Pedro/Downloads/e/lib/nd4j-native-api-0.9.1.jar
[INFO] Copying netlib-native_system-osx-x86_64-1.1-natives.jar to /Users/Pedro/Downloads/e/lib/netlib-native_system-osx-x86_64-1.1-natives.jar
[INFO] nearestneighbor-core-0.9.1.jar already exists in destination.
[INFO] commons-lang3-3.4.jar already exists in destination.
[INFO] nd4j-cuda-8.0-0.9.1-linux-ppc64le.jar already exists in destination.
[INFO] jackson-databind-2.0.0.jar already exists in destination.
[INFO] commons-io-2.4.jar already exists in destination.
[INFO] lombok-1.16.16.jar already exists in destination.
[INFO] opencv-platform-3.2.0-1.3.jar already exists in destination.
[INFO] nd4j-cuda-8.0-0.9.1.jar already exists in destination.
[INFO] commons-net-3.1.jar already exists in destination.
[INFO] javacpp-1.3.3.jar already exists in destination.
[INFO] deeplearning4j-core-0.9.1.jar already exists in destination.
[INFO] opencv-3.2.0-1.3.jar already exists in destination.
[INFO] imageio-bmp-3.1.1.jar already exists in destination.
[INFO] imageio-core-3.1.1.jar already exists in destination.
[INFO] commons-lang-2.6.jar already exists in destination.
[INFO] reflections-0.9.10.jar already exists in destination.
[INFO] deeplearning4j-zoo-0.9.1.jar already exists in destination.
[INFO] commons-codec-1.10.jar already exists in destination.
[INFO] commons-math3-3.4.1.jar already exists in destination.
[INFO] slf4j-jdk14-1.7.25.jar already exists in destination.
[INFO] javassist-3.19.0-GA.jar already exists in destination.
[INFO] guava-23.1-jre.jar already exists in destination.
[INFO] common-image-3.1.1.jar already exists in destination.
[INFO] nd4j-cuda-8.0-platform-0.9.1.jar already exists in destination.
[INFO] imageio-metadata-3.1.1.jar already exists in destination.
[INFO] imageio-jpeg-3.1.1.jar already exists in destination.
[INFO] imageio-psd-3.1.1.jar already exists in destination.
[INFO] jackson-0.9.1.jar already exists in destination.
[INFO] deeplearning4j-ui-components-0.9.1.jar already exists in destination.
[INFO] common-lang-3.1.1.jar already exists in destination.
[INFO] cuda-8.0-6.0-1.3.jar already exists in destination.
[INFO] jackson-annotations-2.0.0.jar already exists in destination.
[INFO] commons-math-2.1.jar already exists in destination.
[INFO] common-io-3.1.1.jar already exists in destination.
[INFO] javacv-1.3.3.jar already exists in destination.
[INFO] jackson-core-2.0.0.jar already exists in destination.
[INFO] cuda-platform-8.0-6.0-1.3.jar already exists in destination.
[INFO] deeplearning4j-modelimport-0.9.1.jar already exists in destination.
[INFO] cuda-8.0-6.0-1.3-macosx-x86_64.jar already exists in destination.
[INFO] nd4j-cuda-8.0-0.9.1-macosx-x86_64.jar already exists in destination.
[INFO] datavec-api-0.9.1.jar already exists in destination.
[INFO] datavec-data-image-0.9.1.jar already exists in destination.
[INFO] imageio-tiff-3.1.1.jar already exists in destination.
[INFO] commons-compress-1.8.jar already exists in destination.
[INFO] ark-tweet-nlp-0.3.2.jar already exists in destination.
[INFO] opencv-3.2.0-1.3-macosx-x86_64.jar already exists in destination.
[INFO] jai-imageio-core-1.3.0.jar already exists in destination.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.275 s
[INFO] Finished at: 2017-11-05T23:34:38-02:00
[INFO] Final Memory: 35M/423M
[INFO] ------------------------------------------------------------------------

from wekadeeplearning4j.

braun-steven avatar braun-steven commented on May 24, 2024

Also gonna test to import everything manually instead of using maven
I would really not advise that since the underlying DL4J library is pulling a huge amount of dependencies as you can see in the maven install log (which looks good btw).

You can simply include weka by adding the following to your pom.xml

<dependency>
    <groupId>nz.ac.waikato.cms.weka</groupId>
    <artifactId>weka-stable</artifactId>
    <version>3.8.1</version>
</dependency>

Keep in mind that this setup is completely independent of the internal weka package management (which allows using the dl4j package via commandline/GUI). So if you want to simply use it in your java code, go with the maven setup. Keep me updated how things are going.

from wekadeeplearning4j.

pedro-nadolny avatar pedro-nadolny commented on May 24, 2024

That is what I'm trying to say is the problem, because if you look at the wekaDeepLeraning4jCore pom.xml it includes the weka-stable as a dependency. So it dosen't use my local weka, and so it can't find the dl4j package. Am I right about that?

from wekadeeplearning4j.

braun-steven avatar braun-steven commented on May 24, 2024

Basically weka packages can be used independently from the weka distribution you choose (whether its a jar and you run it via cli/gui or in your java code or as maven dependency). They reside in your WEKA_HOME which is $HOME/wekafiles by default. Though it seems that the dependencies introduced by the deeplearning backend somehow messes things for this case up. Until this is figured out, I would advise you to use the package as described above if you are going to use it in java.

from wekadeeplearning4j.

braun-steven avatar braun-steven commented on May 24, 2024

@pedroroberto Okay, I have updated the documentation with a description of usage in maven and in a java project without maven. For the second case you need to add the package libraries to your java classpath as described.

from wekadeeplearning4j.

pedro-nadolny avatar pedro-nadolny commented on May 24, 2024

Sorry for taking too long for replying. Following the
provided maven installation instructions I'm able to use wekaDL4J on maven project. Thanks a lot for your effort and keep up the good work.

from wekadeeplearning4j.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.