Closed aroradeepak001 closed 8 years ago
Hi @aroradeepak001,
Please use skflow from Tensorflow 0.8 - it got moved and already released there. All the issues as such one are fixed there. You can just install Tensorflow 0.8 and import skflow as import tensorflow.contrib.learn as skflow
.
Hey Thank you for such a quick response , Cheers!!
I am just trying to run this example as it is, It is giving me following error :
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/framework/ops.py", line 462, in bool raise TypeError("Using a
tf.Tensor
as a Pythonbool
is not allowed. " TypeError: Using atf.Tensor
as a Pythonbool
is not allowed. Useif t is not None:
instead ofif t:
to test if a tensor is defined, and use the logical TensorFlow ops to test the value of a tensor.