Open baggepinnen opened 4 years ago
This is probably not the root cause of your problem. But it will be a problem. The process we PyCall python TensorFlow is not getting it's environment activated for some reason.
CapturedException(LoadError("/home/fredrikb/.julia/packages/TensorFlow/q9pY2/src/py.jl", 2, ArgumentError("Package MacroTools not found in current path:\n- Run
import Pkg; Pkg.add(\"MacroTools\")to install the MacroTools package.\n")), Any[(require at loading.jl:887, 1), (include at boot.jl:328 [inlined], 1), (include_relative at loading.jl:1105, 1), (include at Base.jl:31, 1), (include at client.jl:424, 1), (#17 at TensorFlow.jl:160, 1), (#112 at process_messages.jl:309, 1), (run_work_thunk at process_messages.jl:79, 1), (run_work_thunk at process_messages.jl:88, 1), (#98 at task.jl:333, 1)]))
That will prevent gradients working. But you get a segfault without calling gradients.
Anyway, though that does obsure your python TensorFlow version from that message. I see you are not using Conda.jl So it could be your python TensorFlow Version is not equal to the C LibTensprFliw version (1.12) which definitely causes segfaults.
But I am not sure you get up to having a python TensorFlow loaded.
If you are making a bug report, please copy and paste the output of the following Julia snippit into the issue: