慕独慕你 2021-04-18 10:36 采纳率: 33.3%
浏览 465
已采纳

提问 module 'tensorflow' has no attribute 'Print'

            if debug:
                bgr = tf.Print(bgr, [tf.shape(bgr)],
                               message='Shape of input image: ',
                               summarize=4, first_n=1)

  • 写回答

3条回答 默认 最新

  • 关注

    把Print函数的p改为小写字母试试

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?