DeepLearning4j Convolutional Neural Network issue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

DeepLearning4j Convolutional Neural Network issue

hsiyinliu
Hi, I am trying to run a Convolutional Neural Network with Weka with some images on a Mac OS (16 GB), where I run Weka with java -jar weka.jar. I installed the DeepLearning4j package using the package manager GUI in Weka and created an ARFF file with the names of my images and the class value I'm training it on. I have a convolutional layer and one output layer with ReLU as the activation function for both of them. For some reason, once I configure everything and start the model, I'm getting this error:

dyld: lazy symbol binding failed: Symbol not found: ___emutls_get_address
  Referenced from: /Users/evangelineliu/.javacpp/cache/nd4j-native-1.0.0-beta5-macosx-x86_64.jar/org/nd4j/nativeblas/macosx-x86_64/libnd4jcpu.dylib
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ___emutls_get_address
  Referenced from: /Users/evangelineliu/.javacpp/cache/nd4j-native-1.0.0-beta5-macosx-x86_64.jar/org/nd4j/nativeblas/macosx-x86_64/libnd4jcpu.dylib
  Expected in: /usr/lib/libSystem.B.dylib

Abort trap: 6

I'm pretty stuck on this...does anyone know why this is? It doesn't exactly appear to be a memory issue either especially as I'm only running with 10 images total as a test.
_______________________________________________
Wekalist mailing list -- [hidden email]
Send posts to [hidden email]
To unsubscribe send an email to [hidden email]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|

Re: DeepLearning4j Convolutional Neural Network issue

Michael Hall


On Mar 14, 2020, at 11:17 PM, [hidden email] wrote:

 /Users/evangelineliu/.javacpp/cache/nd4j-native-1.0.0-beta5-macosx-x86_64.jar/org/nd4j/nativeblas/macosx-x86_64/libnd4jcpu.dylib

Appears to be related to native lib issues. Errors in libraries - dylib’s - for some reason found in your own hidden user files for javacpp? 

It might be a conflict between this and what Weka default expects to find on OS X.

You could try removing or renaming the indicated directory and see if that fixes it.

Maybe something like…

mv ~/.javacpp ~/tempcpp

Haven’t tried it but I think would work.

If you find out you need it rename it back.

Or since they appear to be a cache file simply delete. They will usually just get replaced if needed.
So something like…

rm -r ~/.javacpp/cache

Or see if someone else if actually familiar with the error.

Maybe related…





_______________________________________________
Wekalist mailing list -- [hidden email]
Send posts to [hidden email]
To unsubscribe send an email to [hidden email]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html