1. 程式人生 > >TensorBoard tf.summary.merge_all() AttributeError: 'NoneType' object has no attribute 'bucket 錯誤

TensorBoard tf.summary.merge_all() AttributeError: 'NoneType' object has no attribute 'bucket 錯誤

InvalidArgumentError (see above for traceback): You must feed a value for placeholder tensor 'inputs/x_input' with dtype float
     [[Node: inputs/x_input = Placeholder[dtype=DT_FLOAT, shape=[], _device="/job:localhost/replica:0/task:0/cpu:0"]()]]

執行環境anaconda2.4.1 python3.5.1(Windows)
找了半天,最後在將程式碼複製到Linux上,利用python2.7 執行並沒有報錯,是版本原因還是系統原因呢 文件上版本支援python2.7-3.5

AttributeError: 'NoneType' object has no attribute 'bucketize'

也是換用Linux就行了。。一個個的巨坑