raise TypeError("List of Tensors when single Tensor expected")
TypeError: List of Tensors when single Tensor expected
tensorflowのバージョンが前のためです
pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 475, in __nonzero__
raise TypeError("Using a `tf.Tensor` as a Python `bool` is not allowed. "
TypeError: Using a `tf.Tensor` as a Python `bool` is not allowed. Use `if t is not None:` instead of `if t:` to test if a tensor is defined, and use the logical TensorFlow ops to test the value of a tensor.
skflow/trainer.py中の以下の箇所を修正します。
# if summaries:
if summaries is not None:
# if summaries and summary_writer and summ is not None:
if summaries is not None and summary_writer and summ is not None:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xxx in position 0: ordinal not in range(128)
このようにします
unicode( str, 'utf-8') )
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
このようにします
str.encode('utf_8')