-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ProcessExitedException failure #484
Comments
What seems to be happening is TensorFlow.jl is calling into python, to get gradients, during the training step. Something is then going wrong,
I am not sure (at this time) why that is happenning, |
BTW, the tests fail in a similar way.
On Sun, Jan 6, 2019 at 15:05 Lyndon White ***@***.***> wrote:
What seems to be happening is
TensorFlow.jl is calling into python, to get gradients, during the
training step.
Something is then going wrong,
The python code we call throws an exception:
TypeError("can't pickle traceback objects",)
I am not sure (at this time) why that is happenning,
and I am probably not going to have time to look into this too soon.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#484 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFXxeHplb06lJ93HASDtIdClYYyvhBuMks5vAnNHgaJpZM4ZygS2>
.
--
-monty
|
I have the same issue. Following code throws a using TensorFlow
x = placeholder(Float32)
y_ = placeholder(Float32)
W = get_variable("W", [50, 10], Float64)
b = get_variable("b", [10], Float64)
println(W)
println(b)
y = nn.softmax(x*W + b)
cross_entropy = reduce_mean(-reduce_sum(y_ .* log(y), axis=[2]))
optimizer = train.AdamOptimizer()
minimize_op = train.minimize(optimizer, cross_entropy) I've added some debug prints in
When printing W I get the following:
It seems that the variable in the graph referred to as W:1 while in the exception above it's trying to refer to W:0? I'm not sure if it's comparable, but in Python it looks like this: W = tf.Variable(tf.zeros([784,10]))
print(W) outputs
(Notice Variable:0) |
The text was updated successfully, but these errors were encountered: