SparkNet
SparkNet copied to clipboard
build issue
Does anybody have build issue? We download the source code and one maven dependency is not available. imageio is not available and only imageio-core is available. When try to resolve dependency one by one, stuck at org.bytedeco.javacpp-presets - caffe . Not sure exactly version used in this project.
I think this is a very basic thing to let other users leverage this contribution.
Have you tried using SBT? That is the way we are building the project. The maven file was contributed by @javadba and if it is currently broken, we should update or remove it.
Hi - the versions have changed in SparkNet and i will provide an update to the pom.xml by the coming weekend 7/4/16
Great, thanks a lot!
Hi I am on Mac. I can not build due to the classifier for Mac are not built / stored on the amplab maven repo.
[ERROR] Failed to execute goal on project sparknet: Could not resolve dependencies for project org.amplab:sparknet:jar:1.0: The following artifacts could not be resolved: org.bytedeco.javacpp-presets:caffe:jar:macosx-x86_64:master-1.2-SPARKNET, org.bytedeco.javacpp-presets:opencv:jar:macosx-x86_64:3.1.0-1.2-SPARKNET, org.bytedeco.javacpp-presets:tensorflow:jar:macosx-x86_64:master-1.2-SPARKNET: Could not find artifact org.bytedeco.javacpp-presets:caffe:jar:macosx-x86_64:master-1.2-SPARKNET in javacpp (http://www.eecs.berkeley.edu/~rkn/snapshot-2016-03-05/) -> [Help 1]
So I have the updated pom.xml but can not test it.
OK it appears that the requirement were to build javacpp for mac locally: shown here;
https://github.com/bytedeco/javacpp-presets/wiki/Build-Environments
I will get back after attempting to use the locally built presets.
Wow. Building javacpp-presets is a big complicated deal. Is there any documentation you guys have about how to do it wrt SparkNet?
There are some instructions here https://github.com/amplab/SparkNet/blob/master/doc/creating-jars.md
Those instructions do not work for mac/osx. I have been following the instructions for mac/osx from the javacpp-presets site.
After about an hour of compilations there is a failure on "tar: Unrecognized archive format". This is not a Sparknet project issue but a javacpp-presets project issue. Overall this is just a big job to get javacpp-presets up and running on os/x.
I am going to create a separate issue specifically for os/x: the issues here are not for my pom.xml or even spark 2.X .
This issue should be marked as depending on https://github.com/amplab/SparkNet/issues/139