These are chat archives for arita37/tensorflow

11th
Apr 2017
Akshay Mankar
@akki6843
Apr 11 2017 06:02

hello every one i am Akshay I have recently started working with tensor flow
i am working on the classifier problem using the IRIS dataset.
I got and an error and it is somthing i am unable to understand so please help me
here is the error

Traceback (most recent call last):
File "iris.py", line 70, in <module>
_, c=sess.run([train_step,cross_entropy], feed_dict={X: traindata, y: train_label})
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 372, in run
run_metadata_ptr)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 619, in _run
np_val = np.array(subfeed_val, dtype=subfeed_dtype)
ValueError: setting an array element with a sequence.