Closed lucataglia closed 6 years ago
That's because of the version of the TensorFlow native library that you're using. The code is currently using the master branch of the TensorFlow repository. This will be compatible with version 1.7.0 of TensorFlow. You can either compile TensorFlow from sources (using the master branch) to obtain the libtensorflow.so
and libtensorflow_framework.so
libraries, or download and extract them from here (for Linux CPU) or here (for Linux GPU).
@eaplatanios Ok, so just for to be sure, I can not anymore relies on the pre-compile binaries that you offer but I have to compile the binaries by my self, right ? Anyway thank you for the quickly response :)
@lucaRadicalbit I'm waiting for the official 1.7.0 release and I'll then update the precompiled binaries too (I might even do so earlier if I find some time). :)
Let me know if all works fine for you when you compile the binaries yourself.
And no worries! I'm glad you're using this library and report bugs. :)
@eaplatanios Thank you for your patient :) Now I try to:
But I got this error:
#
# SIGSEGV (0xb)[thread 49923 also had an error] at pc=0x000000011f6ea422
, pid=60487, tid=0x000000000000c503
#
# JRE version: Java(TM) SE Runtime Environment (8.0_151-b12) (build 1.8.0_151-b12)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.151-b12 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C [libtensorflow_framework.so+0x178422] _ZN10tensorflow6Status12SlowCopyFromEPKNS0_5StateE+0x22
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# hs_err_pid60487.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/usr/local/Cellar/sbt/1.1.0/libexec/bin/sbt-launch-lib.bash: line 58: 60487 Abort trap: 6 "$@"/usr/local/Cellar/sbt/1.1.0/libexec/bin/sbt-launch-lib.bash: line 58: 60487 Abort trap: 6 "$@"
@lucaRadicalbit This should be fixed in 45c861682907d536670a2e77a534528485ba1573. Please reopen this issue if it persists. :)
By the way, you should reset your Ivy cache again in order to pull the newly published artifacts.
This morning I download the 0.1.2-SNAPSHOT version and now when I running my application during the restoring of the Tensor Flow graph (fromMetaGraphDef method) I get this error:
Then I try to clone the repo and run
sbt publishLocal
in order to publish the tensorflow_scala project at the commit7912d779
to make some investigation about the problem above but I got that error: