TensorFlow test failing - my config?


#1

I updated my custom libtensorflow.so with bazel and I think everything went well, but test TF is failing in Julia so I wonder if the following is correct? pip is updated, Python has latest. Error on test begins with:

Error: Fatal error on process 2
│ exception =
│ PyError ($(Expr(:escape, :(ccall(#= /home/colin/.julia/packages/PyCall/0jMpb/src/pyfncall.jl:44 =# @pysym(:PyObject_Call), PyPtr, (PyPtr, PyPtr, PyPtr), o, pyargsptr, kw))))) <class ‘TypeError’>
│ TypeError(“can’t pickle traceback objects”,)

and my setup is:


Library Versions

Trying to evaluate ENV[“TF_USE_GPU”] but got error: KeyError(“TF_USE_GPU”)
ENV[“LIBTENSORFLOW”] = /home/colin/gitprogs/tensorflow/bazel-bin/tensorflow/libtensorflow.so

tf_version(kind=:backend) = 1.12.0
tf_version(kind=:python) = 1.12.0
tf_version(kind=:julia) = 0.10.2


Python Status

PyCall.conda = false
ENV[“PYTHON”] = /usr/bin/python3
PyCall.PYTHONHOME = /usr:/usr
String(read(#= /home/colin/.julia/packages/TensorFlow/A6TdG/src/version.jl:104 =# @cmd(“pip --version”))) = pip 18.1 from /usr/lib/python3.6/site-packages/pip (python 3.6)

String(read(#= /home/colin/.julia/packages/TensorFlow/A6TdG/src/version.jl:105 =# @cmd(“pip3 --version”))) = pip 18.1 from /usr/lib/python3.6/site-packages/pip (python 3.6)


Julia Status

Julia Version 1.0.3
Commit 099e826241 (2018-12-18 01:34 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel® Core™ i5-4460 CPU @ 3.20GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.0 (ORCJIT, haswell)


#2

Updating TF today showed a move from 0.10.2 to 0.10.4. TensorFlow tests now complete as expected with no error in the testing process, but with 2 tests in error:

rnn dynamic length 
    TensorFlow.nn.rnn_cell.LSTMCell