deepjavalibrary / djl

An Engine-Agnostic Deep Learning Framework in Java
https://djl.ai
Apache License 2.0
4.07k stars 650 forks source link

Tensorflow extensions on Windows not working #1803

Closed lucaro closed 1 year ago

lucaro commented 2 years ago

I tried to load the tensorflow-text extension as described in the documentation (https://djl.ai/docs/tensorflow/how_to_import_tensorflow_models_in_DJL.html) but was unable to do so under Windows. When calling TensorFlow.loadLibrary() I get UnsatisfiedLinkError: no jnitensorflow in java.library.path. This might be the same issue as https://github.com/tensorflow/java/issues/404. Since DJL has a custom build of the platform natives though, maybe this could be addressed independently.

frankfliu commented 2 years ago

We depends on tfjava. We have to wait tfjava to fix this.