You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi , I got the following issues, when I running the program. Please help fix it :) thanks.
Traceback (most recent call last):
File "/home/amo2/git/prog_nn/prog_nn.py", line 195, in
test_ProgNN()
File "/home/amo2/git/prog_nn/prog_nn.py", line 154, in test_ProgNN
feed_dict={col_0.o_n:fake1})
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 340, in run
run_metadata_ptr)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 523, in _run
processed_fetches = self._process_fetches(fetches)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 493, in _process_fetches
% (subfetch, fetch, type(subfetch), str(e)))
TypeError: Fetch argument [<tf.Tensor 'Placeholder:0' shape=(?, 128) dtype=float64>, <tf.Tensor 'Relu:0' shape=(?, 100) dtype=float64>, <tf.Tensor 'Relu_1:0' shape=(?, 64) dtype=float64>, <tf.Tensor 'Relu_2:0' shape=(?, 25) dtype=float64>, <tf.Tensor 'Softmax:0' shape=(?, 9) dtype=float64>] of [<tf.Tensor 'Placeholder:0' shape=(?, 128) dtype=float64>, <tf.Tensor 'Relu:0' shape=(?, 100) dtype=float64>, <tf.Tensor 'Relu_1:0' shape=(?, 64) dtype=float64>, <tf.Tensor 'Relu_2:0' shape=(?, 25) dtype=float64>, <tf.Tensor 'Softmax:0' shape=(?, 9) dtype=float64>] has invalid type <type 'list'>, must be a string or Tensor. (Can not convert a list into a Tensor or Operation.)
The text was updated successfully, but these errors were encountered:
It looks like your copy of tensorflow doesn't want a list as input for the fetch argument to session.run.
What version of tensorflow are you using? To find out run python -c "import tensorflow as tf;print(tf.__version__)"
Right now I'm not planning to support versions of tensorflow older than 0.11 since the code is mostly a learning exercise.
hi , I got the following issues, when I running the program. Please help fix it :) thanks.
Traceback (most recent call last):
File "/home/amo2/git/prog_nn/prog_nn.py", line 195, in
test_ProgNN()
File "/home/amo2/git/prog_nn/prog_nn.py", line 154, in test_ProgNN
feed_dict={col_0.o_n:fake1})
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 340, in run
run_metadata_ptr)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 523, in _run
processed_fetches = self._process_fetches(fetches)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 493, in _process_fetches
% (subfetch, fetch, type(subfetch), str(e)))
TypeError: Fetch argument [<tf.Tensor 'Placeholder:0' shape=(?, 128) dtype=float64>, <tf.Tensor 'Relu:0' shape=(?, 100) dtype=float64>, <tf.Tensor 'Relu_1:0' shape=(?, 64) dtype=float64>, <tf.Tensor 'Relu_2:0' shape=(?, 25) dtype=float64>, <tf.Tensor 'Softmax:0' shape=(?, 9) dtype=float64>] of [<tf.Tensor 'Placeholder:0' shape=(?, 128) dtype=float64>, <tf.Tensor 'Relu:0' shape=(?, 100) dtype=float64>, <tf.Tensor 'Relu_1:0' shape=(?, 64) dtype=float64>, <tf.Tensor 'Relu_2:0' shape=(?, 25) dtype=float64>, <tf.Tensor 'Softmax:0' shape=(?, 9) dtype=float64>] has invalid type <type 'list'>, must be a string or Tensor. (Can not convert a list into a Tensor or Operation.)
The text was updated successfully, but these errors were encountered: