Issues with wekaDeeplearning4j in FIJI - "ND4J is probably missing dependencies."

fiji
weka
trainable-weka

#1

Hi there,

Has anyone utilized wekaDeeplearning4j (DL4J) within Weka/TrainableWekaSegmentation?

I was having trouble so started with a fresh copy of FIJI, made sure it was up to date, opened Weka GUI Package Manager and installed wekaDeeplearning4j.

When I open TWS it gives the error “Could not insert my own cool classifiers!”

When I try to run a Groovy or Beanshell script that calls DL4J I get the error:

java.lang.ExceptionInInitializerError
at org.nd4j.linalg.cpu.nativecpu.ops.NativeOpExecutioner.(NativeOpExecutioner.java:69)

Caused by: java.lang.RuntimeException: ND4J is probably missing dependencies. For more information, please refer to: http://nd4j.org/getstarted.html
at org.nd4j.nativeblas.NativeOpsHolder.(NativeOpsHolder.java:68)
at org.nd4j.nativeblas.NativeOpsHolder.(NativeOpsHolder.java:36)
… 35 more
Caused by: java.lang.UnsatisfiedLinkError: org.nd4j.nativeblas.Nd4jCpu$NativeOps.allocate()V
at org.nd4j.nativeblas.Nd4jCpu$NativeOps.allocate(Native Method)

I’m sure I’m missing something obvious. It looks like FIJI uses Weka3.9.2-dev while most plugins (wekaDL4J?) expect Weka3.8. I’m not sure if that may be playing a role? Any help is much appreciated!

ImageJ 1.52g, Weka 3.8.3 or weka-dev-3.9.2, fiji-2.0.0-pre-7


#2

Hello, i have gotten this error as well. I actually had to use an older version of fiji to get it to work. An input on this would be great!


#3

Hi Connor,

Could you provide some details on which versions you were able to get to work together? I’ve updated my original post with the versions I have tested unsuccessfully.

Thanks!