Skip to content Skip to sidebar Skip to footer

Valueerror: Invalid Literal For Int() With Base 10 In Tensorflow

i am trying to play with image in tensorflow and i am trying to run this code but its giving this error : /anaconda/bin/python '/Users/tony/Downloads/Tensorflow learning/9th pro.py

Solution 1:

Your place_holder1 is a tensor of size None, None, 3 and type float (tf.placeholder("float32",[None,None,3])). Instead of it you pass a string which is a name of the file. Read this file and convert it to a tensor.

Your 3 is the number of channels (colors). For RGB images it is 3.

Post a Comment for "Valueerror: Invalid Literal For Int() With Base 10 In Tensorflow"