You must feed a value for placeholder tensor 'Placeholder' with dtype float

后端 未结 2 1467
-上瘾入骨i
-上瘾入骨i 2021-01-07 17:35

I\'m a newer to tensorflow, I really don\'t know how to solve the problem.

The code is like:

  1. Feed the train with values:

    sess.run(tr         
    
    
            
2条回答
  •  死守一世寂寞
    2021-01-07 18:08

    I saw one problem with the code. There are two variables with the same name label. One of them refers to a Tensor, and the other one refers to some data. When you set label: label in the feed_dict, you need to distinguish between the two variables. Maybe you can try changing the name for one of the variables?

提交回复
热议问题