DL4J Nodes

I have the DL4J nodes installed. I’ve downloaded several of the examples from the example server and none work. I have no idea what the problem is. Any help would be appreciated.

Hey @rfeigel,

Can you double-check the memory set in File -> Preferences -> DeepLearning4J? Can you maybe increase it to 4000m?

Also, an error message would help us debugging your problem :slight_smile:

Cheers,

Christian

Example 07 Simple Document Classification Using Word Vector

Error : ERROR Doc2Vec Learner 0:95 Execute failed: Could not initialize class org.nd4j.linalg.factory.Nd4j

Hi @rfeigel,

did you try to increase the memory in the preferences?

Cheers,

Christian

Yes. 4000m

Hm, any chance you can attach the KNIME log file? Would make debugging easier. Also increasing the memory further (e.g. 6000) may help in this case. Just to be sure :slight_smile:

Best,

Christian

Log file attached. Also increased heap to 6000 which did not help. I think there is a problem in the grouping in the example file, but I’m too inexperienced to figure it out.

knime.log (1.2 MB)

java.lang.UnsatisfiedLinkError: java.io.FileNotFoundException: C:\Users\User\.javacpp\cache\jniopenblas.dll\jniopenblas.dll (Access is denied) can you try to start KNIME Analytics Platform as an administrator?

Ran as administrator. Same problem.

Here’s the error message:

ERROR Doc2Vec Learner 0:95 Execute failed: java.io.FileNotFoundException: C:\Users\User.javacpp\cache\jniopenblas.dll\jniopenblas.dll (The requested operation cannot be performed on a file with a user-mapped section open)

It seems that another process is locking this file (e.g. visual studio, windows defender etc). See also https://stackoverflow.com/questions/4658354/the-requested-operation-cannot-be-performed-on-a-file-with-a-user-mapped-section

Christian:

Thanks very much. You’ve identified the problem. I rebooted as administrator and it ran fine. I suspect the problem is one of my virus programs (Bitdefender). Its very aggressive in blocking all sorts of things. I’ll try to white list the dll.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.