Closed lucasrodes closed 5 years ago
Hey - Check out https://github.com/tensorflow/tensorflow/issues/13283 or https://stackoverflow.com/questions/37267584/tensorflow-feed-dict-using-same-symbol-for-key-value-pair-got-typeerror-can
I just got this error a few minutes ago while doing an assignment in tf, and it was due to me declaring a variable (say, is_training = True) in my own code, overwriting an existing tf.placeholder declared earlier with the same name.
So perhaps one of your variable names is overwriting a placeholder defined earlier within the module/project? (I think StackOverflow would be a better place to ask though)
Hi, @lucasrodes
You can avoid this problem if it remove the following code.
# K.set_learning_phase(0)
I believe this issue is resolved but if I have mistaken, please reopen this issue.
I run the following code:
Everything works. Then I attempt to actually run the optimizer:
And it crashes,
TypeError: Cannot interpret feed_dict key as Tensor: Can not convert a int into a Tensor.
, whole error here. My model is the following:I tried installing using pip, then upgraded it using git repo. Then tried installing from source. Same error keeps showing up.
Thanks for your project.