tensorflow / skflow

Simplified interface for TensorFlow (mimicking Scikit Learn) for Deep Learning
Apache License 2.0
3.18k stars 441 forks source link

TypeError: List of Tensors when single Tensor expected #154

Closed michael4john closed 8 years ago

michael4john commented 8 years ago

Running text_classification.py and text_classification_character_rnn.py, which I just downloaded, on shell both returned me the following error:

TypeError: List of Tensors when single Tensor expected

Below is the snippet: typeerror

The weird thing is running text_classification that I downloaded several months ago did NOT return me this kind of error.

Any advice will be appreciated.

GameOfThrow commented 8 years ago

can you specify the version of your TensorFlow package?

michael4john commented 8 years ago

I should have included this in the above. Below is the version info:

Tensorflow: 0.6.0 Python: 2.7.6 Numpy: 1.10.4

terrytangyuan commented 8 years ago

Try most updated version of tensorflow and skflow

GameOfThrow commented 8 years ago

yes, it's just a matter of getting the latest package, update Tensorflow and skflow should work fine.

terrytangyuan commented 8 years ago

This should be just version issue. Closing now but feel free to re-submit the issue on TensorFlow repo.