Tensorflow 2.3: using a `tf.Tensor` as a Python `bool` is not allowed in Graph execution. Use Eager execution or

后端 未结 0 1781
暖寄归人
暖寄归人 2020-12-16 14:54

I\'m trying to make this function accept a single element tensor.

def classi(i):
    out = np.zeros((1, 49), np.uint8)
    for j in range(len(classcount)):
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题