Adam Pocock
Adam Pocock
Do you have other TF-Java dependencies in Ivy? This is the tree I get when depending on TF-Java in Maven: ``` [INFO] | +- org.tensorflow:tensorflow-core-api:jar:0.5.0:compile [INFO] | | +- org.bytedeco:javacpp:jar:1.5.8:compile...
That stack trace is weird because `Loader.java` line 870 in JavaCPP 1.5.8 is `Loader.findResources` not `Loader.load` - https://github.com/bytedeco/javacpp/blob/1.5.8/src/main/java/org/bytedeco/javacpp/Loader.java#L870. Do you have multiple versions of JavaCPP on the classpath?
We should add new contributor guidelines, and that's an entirely reasonable thing to open an issue for. Depending on your level of comfort with TF-Java, there are plenty of things...
Why not try running the Java version in eager mode like the python version is?
But the python example is in eager mode, so let's rule out the difference in the TF runtime engine first, before moving on to issues inside the Java API. I'm...
This should be fixed in 0.3.3 which is in the process of being released. Once that's done we'll get the fix merged into master as well.
Latest release uses protobuf 3.21.9.
We're working on it - https://github.com/tensorflow/java/issues/394#issuecomment-1847887092
TF-Java 1.0.0-rc1 has Apple Silicon binaries - https://github.com/tensorflow/java/releases/tag/v1.0.0-rc.1
I can replicate this with a suitably small `-Xmx` setting. Using 256m seems to make it happen within 1000 iterations. However it doesn't look like there are any Java objects...